summaryrefslogtreecommitdiff
path: root/doc/lispref/frames.texi
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2020-01-07 14:19:01 +0000
committerAlan Third <alan@idiocy.org>2020-01-07 18:33:14 +0000
commit72f54f035dc74a01c1ab5ff444752a994d852490 (patch)
treefc80598e1e93bc19d22110c1400bdf49cc8ff29a /doc/lispref/frames.texi
parentdd85664d23e29363fe08f8cbbf2b96472ac60fc1 (diff)
downloademacs-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 'doc/lispref/frames.texi')
-rw-r--r--doc/lispref/frames.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 05038c6f52b..9bd8bedc660 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -2192,10 +2192,11 @@ it and see if it works.)
@vindex ns-appearance@r{, a frame parameter}
@item ns-appearance
Only available on macOS, if set to @code{dark} draw this frame's
-window-system window using the ``vibrant dark'' theme, otherwise use
-the system default. The ``vibrant dark'' theme can be used to set the
-toolbar and scrollbars to a dark appearance when using an Emacs theme
-with a dark background.
+window-system window using the ``vibrant dark'' theme, and if set to
+@code{light} use the ``aqua'' theme, otherwise use the system default.
+The ``vibrant dark'' theme can be used to set the toolbar and
+scrollbars to a dark appearance when using an Emacs theme with a dark
+background.
@vindex ns-transparent-titlebar@r{, a frame parameter}
@item ns-transparent-titlebar