From: Alan Third Date: Sat, 10 Jun 2017 21:44:01 +0000 (+0100) Subject: Don't wait for toolbar in NS native fullscreen X-Git-Tag: emacs-26.0.90~521^2~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=517a0394d2ba15b517e2a2b7384a7cc98b11b80d;p=emacs.git Don't wait for toolbar in NS native fullscreen * src/nsterm.m (EmacsView:updateFrameSize): Don't short-circuit the function when in fullscreen. --- diff --git a/src/nsterm.m b/src/nsterm.m index e69aa43dd37..633ca3bf76b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6560,7 +6560,10 @@ not_in_argv (NSString *arg) if (wait_for_tool_bar) { - if (FRAME_TOOLBAR_HEIGHT (emacsframe) == 0) + /* The toolbar height is always 0 in fullscreen, so don't wait + for it to become available. */ + if (FRAME_TOOLBAR_HEIGHT (emacsframe) == 0 + && ! [self isFullscreen]) { NSTRACE_MSG ("Waiting for toolbar"); return;