Fix GNUStep toolbar not updating.

* src/nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
This commit is contained in:
Jan Djärv 2013-12-08 13:59:14 +01:00
parent 40f18bf37e
commit b3e42b7083
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2013-12-08 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
* emacs.c (main): Call fixup_locale a second time for GNUStep.
2013-12-08 Martin Rudalics <rudalics@gmx.at>

View file

@ -5682,6 +5682,11 @@ - (void) updateFrameSize: (BOOL) delay;
if (! [self isFullscreen])
{
#ifdef NS_IMPL_GNUSTEP
// GNUStep does not always update the tool bar height. Force it.
if (toolbar) update_frame_tool_bar (emacsframe);
#endif
extra = FRAME_NS_TITLEBAR_HEIGHT (emacsframe)
+ FRAME_TOOLBAR_HEIGHT (emacsframe);
}