diff options
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/nsterm.m | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d3874dbbadc..0b58cdc1662 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2014-10-05 Jan Djärv <jan.h.d@swipnet.se> | 1 | 2014-10-05 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 2 | ||
| 3 | * nsterm.m (updateFrameSize:): Only call update_frame_tool_bar | ||
| 4 | if toolbar is visible. | ||
| 5 | |||
| 3 | * nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than | 6 | * nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than |
| 4 | 0.23 (Bug#18030). | 7 | 0.23 (Bug#18030). |
| 5 | 8 | ||
diff --git a/src/nsterm.m b/src/nsterm.m index ea8b4f726ff..b0a2994bcf5 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -5827,7 +5827,8 @@ not_in_argv (NSString *arg) | |||
| 5827 | { | 5827 | { |
| 5828 | #ifdef NS_IMPL_GNUSTEP | 5828 | #ifdef NS_IMPL_GNUSTEP |
| 5829 | // GNUstep does not always update the tool bar height. Force it. | 5829 | // GNUstep does not always update the tool bar height. Force it. |
| 5830 | if (toolbar) update_frame_tool_bar (emacsframe); | 5830 | if (toolbar && [toolbar isVisible]) |
| 5831 | update_frame_tool_bar (emacsframe); | ||
| 5831 | #endif | 5832 | #endif |
| 5832 | 5833 | ||
| 5833 | extra = FRAME_NS_TITLEBAR_HEIGHT (emacsframe) | 5834 | extra = FRAME_NS_TITLEBAR_HEIGHT (emacsframe) |