diff options
author | Po Lu <luangruo@yahoo.com> | 2022-08-23 20:42:28 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-08-23 20:53:24 +0800 |
commit | 3b7fb723e6a02e760e18942f577f21a88ad852a8 (patch) | |
tree | 1da85bfae0e12083e5e55a09f29ed94f95e7cda9 /src/xterm.h | |
parent | b448fbec4b78c193b9f4b3cce94e491fe5719339 (diff) | |
download | emacs-3b7fb723e6a02e760e18942f577f21a88ad852a8.tar.gz |
Make frame synchronization conditional on clock_gettime
* src/xfns.c (x_set_parent_frame)
(x_set_use_frame_synchronization):
* src/xterm.c (x_update_begin, show_back_buffer, x_update_end)
(x_display_set_last_user_time, handle_one_xevent):
* src/xterm.h (struct x_output): Define out vsync code when
!HAVE_CLOCK_GETTIME.
Diffstat (limited to 'src/xterm.h')
-rw-r--r-- | src/xterm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h index e97f3d4c831..75277c166e0 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -1119,7 +1119,7 @@ struct x_output frame. */ bool_bf waiting_for_frame_p : 1; -#ifndef USE_GTK +#if !defined USE_GTK && defined HAVE_CLOCK_GETTIME /* Whether or not Emacs should wait for the compositing manager to draw frames before starting a new frame. */ bool_bf use_vsync_p : 1; |