diff options
author | Po Lu <luangruo@yahoo.com> | 2022-12-05 19:55:04 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-12-05 19:58:05 +0800 |
commit | 2a907bcd4bbcf733931143eb62fe9d7520a011fe (patch) | |
tree | 6b04bc63a1d3d7bd934b5b22899a6e7817223f1a /src/frame.h | |
parent | 4fa37dc426184811e39ce113f6af7f5b308f116b (diff) | |
download | emacs-2a907bcd4bbcf733931143eb62fe9d7520a011fe.tar.gz emacs-2a907bcd4bbcf733931143eb62fe9d7520a011fe.tar.bz2 emacs-2a907bcd4bbcf733931143eb62fe9d7520a011fe.zip |
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.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h index d6fd62b2ac2..dcd32036b86 100644 --- a/src/frame.h +++ b/src/frame.h @@ -1718,7 +1718,6 @@ extern void x_wm_set_icon_position (struct frame *, int, int); #if !defined USE_X_TOOLKIT extern const char *x_get_resource_string (const char *, const char *); #endif -extern void x_sync (struct frame *); #endif /* HAVE_X_WINDOWS */ #if !defined (HAVE_NS) && !defined (HAVE_PGTK) |