]> git.eshelyaron.com Git - emacs.git/commit
Implement extended frame synchronization
authorPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 02:13:54 +0000 (10:13 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 02:14:04 +0000 (10:14 +0800)
commit1cdc64cdda59fd6ff84e0fd6da9b61c5451cb9e5
treee0a499fe54cf9502424619ae0cae2b838506081e
parentf2465b6b2ff64fe81612b5a02c16a98942c5ca57
Implement extended frame synchronization

* src/xterm.c (x_atom_refs): New atom _NET_WM_FRAME_TIMINGS.
(x_sync_update_finish, x_sync_update_begin): New frame.
(x_update_begin, x_update_end, XTframe_up_to_date): Begin and
end frames accordingly if extended frame synchronization is
enabled.
(handle_one_xevent): Ignore timing and frame drawn events.

* src/xterm.h (struct x_display_info): New atom.
(FRAME_X_COUNTER_VALUE): New macro.
src/xterm.c
src/xterm.h