diff options
| author | Alan Third | 2020-01-07 14:19:01 +0000 |
|---|---|---|
| committer | Alan Third | 2020-01-07 18:33:14 +0000 |
| commit | 72f54f035dc74a01c1ab5ff444752a994d852490 (patch) | |
| tree | fc80598e1e93bc19d22110c1400bdf49cc8ff29a /doc | |
| parent | dd85664d23e29363fe08f8cbbf2b96472ac60fc1 (diff) | |
| download | emacs-72f54f035dc74a01c1ab5ff444752a994d852490.tar.gz 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')
| -rw-r--r-- | doc/lispref/frames.texi | 9 |
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.) | |||
| 2192 | @vindex ns-appearance@r{, a frame parameter} | 2192 | @vindex ns-appearance@r{, a frame parameter} |
| 2193 | @item ns-appearance | 2193 | @item ns-appearance |
| 2194 | Only available on macOS, if set to @code{dark} draw this frame's | 2194 | Only available on macOS, if set to @code{dark} draw this frame's |
| 2195 | window-system window using the ``vibrant dark'' theme, otherwise use | 2195 | window-system window using the ``vibrant dark'' theme, and if set to |
| 2196 | the system default. The ``vibrant dark'' theme can be used to set the | 2196 | @code{light} use the ``aqua'' theme, otherwise use the system default. |
| 2197 | toolbar and scrollbars to a dark appearance when using an Emacs theme | 2197 | The ``vibrant dark'' theme can be used to set the toolbar and |
| 2198 | with a dark background. | 2198 | scrollbars to a dark appearance when using an Emacs theme with a dark |
| 2199 | background. | ||
| 2199 | 2200 | ||
| 2200 | @vindex ns-transparent-titlebar@r{, a frame parameter} | 2201 | @vindex ns-transparent-titlebar@r{, a frame parameter} |
| 2201 | @item ns-transparent-titlebar | 2202 | @item ns-transparent-titlebar |