mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-16 16:20:40 -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:
parent
223ed51dc5
commit
d589d25223
2 changed files with 5 additions and 1 deletions
|
|
@ -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).
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue