diff options
author | Po Lu <luangruo@yahoo.com> | 2022-08-01 09:56:12 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-08-01 09:56:12 +0800 |
commit | 3b5c03eeb2bc559767555fbb5b9916721ce9f853 (patch) | |
tree | d2f7c20799fc577e70e54b00f2f1ee2073124582 /src/pgtkfns.c | |
parent | eef591072ab1cbcf2168d7b30b3e1ca1f50717ad (diff) | |
download | emacs-3b5c03eeb2bc559767555fbb5b9916721ce9f853.tar.gz emacs-3b5c03eeb2bc559767555fbb5b9916721ce9f853.tar.bz2 emacs-3b5c03eeb2bc559767555fbb5b9916721ce9f853.zip |
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.
Diffstat (limited to 'src/pgtkfns.c')
-rw-r--r-- | src/pgtkfns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index d998c3d938c..beaf28f69d9 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c @@ -991,6 +991,7 @@ frame_parm_handler pgtk_frame_parm_handlers[] = pgtk_set_override_redirect, gui_set_no_special_glyphs, pgtk_set_alpha_background, + NULL, }; |