Commit d589d252 authored by Jan Djärv's avatar Jan Djärv
Browse files

Fix disable toolbar for GNUStep.

* nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
if toolbar is visible.

Fixes: debbugs:18345
parent 223ed51d
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).
 
......
......@@ -5827,7 +5827,8 @@ - (void) updateFrameSize: (BOOL) delay;
{
#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)
......
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