Commit 517a0394 authored by Alan Third's avatar Alan Third
Browse files

Don't wait for toolbar in NS native fullscreen

* src/nsterm.m (EmacsView:updateFrameSize): Don't short-circuit the
function when in fullscreen.
parent b94472f1
......@@ -6560,7 +6560,10 @@ - (void) updateFrameSize: (BOOL) delay
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment