diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2013-12-08 13:59:14 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2013-12-08 13:59:14 +0100 |
commit | b3e42b7083e6d13701179e22774b4803b1054392 (patch) | |
tree | 423ed420cdf1e2c82eadd739c8d545b168140d74 /src/nsterm.m | |
parent | 40f18bf37ed957b311f515cd9b699c5b192425ae (diff) | |
download | emacs-b3e42b7083e6d13701179e22774b4803b1054392.tar.gz |
Fix GNUStep toolbar not updating.
* src/nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
Diffstat (limited to 'src/nsterm.m')
-rw-r--r-- | src/nsterm.m | 5 |
1 files changed, 5 insertions, 0 deletions
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); } |