diff options
| author | Eli Zaretskii | 2017-09-23 22:12:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-09-23 22:12:49 +0300 |
| commit | 18073beb14f393b4bbcc92890a89dcfcb75fb7ac (patch) | |
| tree | c4ca04b401544d25d56f5af262c723b6d0e4b991 | |
| parent | 1eef11b7be349767f8b25f27e84e7a6adf0844aa (diff) | |
| parent | 00e4e3e9d273a193620c3a4bb4914e555cb8e343 (diff) | |
| download | emacs-18073beb14f393b4bbcc92890a89dcfcb75fb7ac.tar.gz emacs-18073beb14f393b4bbcc92890a89dcfcb75fb7ac.zip | |
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
| -rw-r--r-- | src/nsterm.m | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index a41d6be2045..fb3ebc963e7 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -6824,9 +6824,10 @@ not_in_argv (NSString *arg) | |||
| 6824 | 6824 | ||
| 6825 | if (wait_for_tool_bar) | 6825 | if (wait_for_tool_bar) |
| 6826 | { | 6826 | { |
| 6827 | /* The toolbar height is always 0 in fullscreen, so don't wait | 6827 | /* The toolbar height is always 0 in fullscreen and undecorated |
| 6828 | for it to become available. */ | 6828 | frames, so don't wait for it to become available. */ |
| 6829 | if (FRAME_TOOLBAR_HEIGHT (emacsframe) == 0 | 6829 | if (FRAME_TOOLBAR_HEIGHT (emacsframe) == 0 |
| 6830 | && FRAME_UNDECORATED (emacsframe) == false | ||
| 6830 | && ! [self isFullscreen]) | 6831 | && ! [self isFullscreen]) |
| 6831 | { | 6832 | { |
| 6832 | NSTRACE_MSG ("Waiting for toolbar"); | 6833 | NSTRACE_MSG ("Waiting for toolbar"); |
| @@ -7207,9 +7208,9 @@ not_in_argv (NSString *arg) | |||
| 7207 | 7208 | ||
| 7208 | win = [[EmacsWindow alloc] | 7209 | win = [[EmacsWindow alloc] |
| 7209 | initWithContentRect: r | 7210 | initWithContentRect: r |
| 7210 | styleMask: (FRAME_UNDECORATED (f) | 7211 | styleMask: ((FRAME_UNDECORATED (f) |
| 7211 | ? FRAME_UNDECORATED_FLAGS | 7212 | ? FRAME_UNDECORATED_FLAGS |
| 7212 | : FRAME_DECORATED_FLAGS | 7213 | : FRAME_DECORATED_FLAGS) |
| 7213 | #ifdef NS_IMPL_COCOA | 7214 | #ifdef NS_IMPL_COCOA |
| 7214 | | NSWindowStyleMaskResizable | 7215 | | NSWindowStyleMaskResizable |
| 7215 | | NSWindowStyleMaskMiniaturizable | 7216 | | NSWindowStyleMaskMiniaturizable |