]> git.eshelyaron.com Git - emacs.git/commit
Fix handling of extended frame resize synchronization
authorPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 12:54:30 +0000 (20:54 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 13:00:59 +0000 (21:00 +0800)
commit9547c285837e80af059f7676e8af856fb55d1c14
tree74813f1c46aa019e4218f3680893e45b6e1ef5fd
parentdedd05d2831d650b07cd9f0c639bdc8eb3bef1e4
Fix handling of extended frame resize synchronization

* src/xterm.c (x_sync_wait_for_frame_drawn_event): Don't wait if
the frame is invisible.  If it is mapped again the compositing
manager is obliged to send us another event, so we can wait in
that case.
(x_sync_update_begin, x_sync_update_finish): Handle extended
resize synchronization here.
(XTframe_up_to_date, handle_one_xevent): Save stuff here.

* src/xterm.h (struct x_output): New field
`resize_counter_value'.
src/xterm.c
src/xterm.h