]> git.eshelyaron.com Git - emacs.git/commit
Fix NS frame parameters (bug#39000)
authorAlan Third <alan@idiocy.org>
Tue, 7 Jan 2020 14:19:01 +0000 (14:19 +0000)
committerAlan Third <alan@idiocy.org>
Tue, 7 Jan 2020 18:33:14 +0000 (18:33 +0000)
commit72f54f035dc74a01c1ab5ff444752a994d852490
treefc80598e1e93bc19d22110c1400bdf49cc8ff29a
parentdd85664d23e29363fe08f8cbbf2b96472ac60fc1
Fix NS frame parameters (bug#39000)

* src/frame.c (make_frame): Use new system default setting.
* src/frame.h (enum ns_appearance_type): Add new system default
setting.
* src/nsfns.m (Fx_create_frame): Correctly handle Qunbound and support
system default appearance.
(syms_of_nsfns): Add Qlight.
* src/nsterm.h: New method definition.
* src/nsterm.m (ns_set_appearance): Correctly handle Qlight and use new
setAppearance method.
([EmacsView initFrameFromEmacs:]): Use new setAppearance method.
([EmacsWindow setAppearance]): New method.
* doc/lispref/frames.texi (Management Parameters): Document 'light'.
doc/lispref/frames.texi
src/frame.c
src/frame.h
src/nsfns.m
src/nsterm.h
src/nsterm.m