summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-cstr.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-29 16:20:32 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-29 17:27:36 +0800
commitee93a06b8b1922b31e12cfe60566779f185ddeba (patch)
tree31d1e4e2ec3c64ea78c077b91a5546e6322ef274 /lisp/emacs-lisp/comp-cstr.el
parentdb03eda6369a9d4af3c72a8ab6ec29e3cc58acc4 (diff)
downloademacs-ee93a06b8b1922b31e12cfe60566779f185ddeba.tar.gz
emacs-ee93a06b8b1922b31e12cfe60566779f185ddeba.tar.bz2
emacs-ee93a06b8b1922b31e12cfe60566779f185ddeba.zip
Implement monitor refresh rate synchronization on X
* src/xfns.c (x_set_parent_frame, Fx_create_frame): Disable vsync on child and embedded frames. * src/xmenu.c (x_menu_show): Fix XMenu position calculation in child frames. * src/xterm.c (x_sync_is_frame_drawn_event) (x_sync_wait_for_frame_drawn_event): New functions. (x_sync_update_begin): Wait for frame to be drawn if not double buffered. (x_sync_update_finish): Set FRAME_X_WAITING_FOR_DRAW (f). (show_back_buffer): Wait for frame to be drawn before flipping buffers. (XTframe_up_to_date): Set FRAME_X_WAITING_FOR_DRAW if bumped. (handle_one_xevent): Handle frame drawn events. * src/xterm.h (struct x_output): New fields for frame dirtyness and vsync.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions