diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2014-10-05 20:03:42 +0200 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2014-10-05 20:03:42 +0200 |
commit | d589d252238f18a1eeea0db545ebf43e3eaaa42f (patch) | |
tree | 4317ddb433933768f807ccd91df320ff53801c8c /src/nsterm.m | |
parent | 223ed51dc5e78444db5601397ff77ad2e36577bc (diff) | |
download | emacs-d589d252238f18a1eeea0db545ebf43e3eaaa42f.tar.gz |
Fix disable toolbar for GNUStep.
* nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
if toolbar is visible.
Fixes: debbugs:18345
Diffstat (limited to 'src/nsterm.m')
-rw-r--r-- | src/nsterm.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index ea8b4f726ff..b0a2994bcf5 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5827,7 +5827,8 @@ not_in_argv (NSString *arg) { #ifdef NS_IMPL_GNUSTEP // GNUstep does not always update the tool bar height. Force it. - if (toolbar) update_frame_tool_bar (emacsframe); + if (toolbar && [toolbar isVisible]) + update_frame_tool_bar (emacsframe); #endif extra = FRAME_NS_TITLEBAR_HEIGHT (emacsframe) |