diff options
author | Alan Third <alan@idiocy.org> | 2020-01-07 14:19:01 +0000 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2020-01-07 18:33:14 +0000 |
commit | 72f54f035dc74a01c1ab5ff444752a994d852490 (patch) | |
tree | fc80598e1e93bc19d22110c1400bdf49cc8ff29a /src/frame.h | |
parent | dd85664d23e29363fe08f8cbbf2b96472ac60fc1 (diff) | |
download | emacs-72f54f035dc74a01c1ab5ff444752a994d852490.tar.gz emacs-72f54f035dc74a01c1ab5ff444752a994d852490.tar.bz2 emacs-72f54f035dc74a01c1ab5ff444752a994d852490.zip |
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'.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frame.h b/src/frame.h index 6ab690c0ff5..68dc0ce3649 100644 --- a/src/frame.h +++ b/src/frame.h @@ -69,8 +69,9 @@ enum internal_border_part #ifdef NS_IMPL_COCOA enum ns_appearance_type { - ns_appearance_aqua, - ns_appearance_vibrant_dark + ns_appearance_system_default, + ns_appearance_aqua, + ns_appearance_vibrant_dark }; #endif #endif /* HAVE_WINDOW_SYSTEM */ |