diff options
| author | Jan Djärv | 2014-03-31 08:20:04 +0200 |
|---|---|---|
| committer | Jan Djärv | 2014-03-31 08:20:04 +0200 |
| commit | abe133666d5703307ee6e5485578d37a1d6093f2 (patch) | |
| tree | 2662b31942da5a634b7f743522d28f9ca0984a17 /src | |
| parent | ce486e0d8f6a6b140187f5a843fe766c3859304b (diff) | |
| download | emacs-abe133666d5703307ee6e5485578d37a1d6093f2.tar.gz emacs-abe133666d5703307ee6e5485578d37a1d6093f2.zip | |
* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO
Fixes: debbugs:16976
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/nsmenu.m | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 46f6f312050..92be5b00246 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-03-31 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976) | ||
| 4 | |||
| 1 | 2014-03-30 Jan Djärv <jan.h.d@swipnet.se> | 5 | 2014-03-30 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 6 | ||
| 3 | * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool | 7 | * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool |
diff --git a/src/nsmenu.m b/src/nsmenu.m index 321e0d92e1e..24842241f37 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -1054,8 +1054,10 @@ free_frame_tool_bar (struct frame *f) | |||
| 1054 | Under NS we just hide the toolbar until it might be needed again. | 1054 | Under NS we just hide the toolbar until it might be needed again. |
| 1055 | -------------------------------------------------------------------------- */ | 1055 | -------------------------------------------------------------------------- */ |
| 1056 | { | 1056 | { |
| 1057 | EmacsView *view = FRAME_NS_VIEW (f); | ||
| 1057 | block_input (); | 1058 | block_input (); |
| 1058 | [[FRAME_NS_VIEW (f) toolbar] setVisible: NO]; | 1059 | view->wait_for_tool_bar = NO; |
| 1060 | [[view toolbar] setVisible: NO]; | ||
| 1059 | FRAME_TOOLBAR_HEIGHT (f) = 0; | 1061 | FRAME_TOOLBAR_HEIGHT (f) = 0; |
| 1060 | unblock_input (); | 1062 | unblock_input (); |
| 1061 | } | 1063 | } |