From: Jan Djärv Date: Sun, 8 Dec 2013 12:59:14 +0000 (+0100) Subject: Fix GNUStep toolbar not updating. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~509 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3e42b7083e6d13701179e22774b4803b1054392;p=emacs.git Fix GNUStep toolbar not updating. * src/nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5711b356f61..e7016c6165b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2013-12-08 Jan Djärv + * nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating. + * emacs.c (main): Call fixup_locale a second time for GNUStep. 2013-12-08 Martin Rudalics diff --git a/src/nsterm.m b/src/nsterm.m index 07120c7e451..9c87923f32e 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5682,6 +5682,11 @@ not_in_argv (NSString *arg) 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); }