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/nsfns.m | |
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/nsfns.m')
-rw-r--r-- | src/nsfns.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index 433df059610..1d3dcd31243 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1057,6 +1057,7 @@ frame_parm_handler ns_frame_parm_handlers[] = 0, /* x_set_override_redirect */ gui_set_no_special_glyphs, gui_set_alpha_background, + NULL, #ifdef NS_IMPL_COCOA ns_set_appearance, ns_set_transparent_titlebar, |