1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00

Fix disable toolbar for GNUStep.

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

Fixes: debbugs:18345
This commit is contained in:
Jan Djärv 2014-10-05 20:03:42 +02:00
parent 223ed51dc5
commit d589d25223
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
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).

View file

@ -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)