* nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
if toolbar is visible.
Fixes: debbugs:18345
2014-10-05 Jan Djärv <jan.h.d@swipnet.se>
+ * nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
+ if toolbar is visible.
+
* nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than
0.23 (Bug#18030).
{
#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)