]> git.eshelyaron.com Git - emacs.git/commit
Don't excessively sync in some other code
authorPo Lu <luangruo@yahoo.com>
Mon, 5 Dec 2022 11:55:04 +0000 (19:55 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 5 Dec 2022 11:58:05 +0000 (19:58 +0800)
commit2a907bcd4bbcf733931143eb62fe9d7520a011fe
tree6b04bc63a1d3d7bd934b5b22899a6e7817223f1a
parent4fa37dc426184811e39ce113f6af7f5b308f116b
Don't excessively sync in some other code

* configure.ac (USE_XCB): Remove xcb-util dependency.
* src/frame.h: Remove x_sync.
* src/gtkutil.c (xg_frame_restack, xg_update_scrollbar_pos)
(xg_update_horizontal_scrollbar_pos): Call XSync manually
instead of x_sync.
* src/xfns.c (x_sync): Delete unused function.
* src/xterm.c (x_send_hourglass_message): New function.
(x_show_hourglass, x_hide_hourglass): Avoid XSync in these two
pieces of frequently used code.
(handle_one_xevent): Handle hourglass messages.
(x_make_frame_invisible): Stop using x_sync.
configure.ac
src/frame.h
src/gtkutil.c
src/xfns.c
src/xterm.c