]> git.eshelyaron.com Git - emacs.git/commit
Make frame synchronization a frame parameter
authorPo Lu <luangruo@yahoo.com>
Mon, 1 Aug 2022 01:56:12 +0000 (09:56 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 1 Aug 2022 01:56:12 +0000 (09:56 +0800)
commit3b5c03eeb2bc559767555fbb5b9916721ce9f853
treed2f7c20799fc577e70e54b00f2f1ee2073124582
parenteef591072ab1cbcf2168d7b30b3e1ca1f50717ad
Make frame synchronization a frame parameter

* doc/lispref/frames.texi (Management Parameters): Document
`use-frame-synchronization'.
* etc/NEWS: Update entry.

* src/frame.c (frame_parms): New frame parameter
`use-frame-synchronization'.
(syms_of_frame): New defsym.
* src/haikufns.c (haiku_frame_parm_handlers):
* src/nsfns.m (ns_frame_parm_handlers):
* src/pgtkfns.c (pgtk_frame_parm_handlers):
* src/w32fns.c (w32_frame_parm_handlers): Update frame param
handlers correctly.
* src/xfns.c (x_set_use_frame_synchronization): New function.
(Fx_create_frame): Set default value of said parameter.
(x_frame_parm_handlers): Add handler.

* src/xterm.c (x_sync_wait_for_frame_drawn_event): Clear
parameter if sync fails.
doc/lispref/frames.texi
etc/NEWS
src/frame.c
src/haikufns.c
src/nsfns.m
src/pgtkfns.c
src/w32fns.c
src/xfns.c
src/xterm.c