Commit abe13366 authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO

Fixes: debbugs:16976
parent ce486e0d
2014-03-31 Jan Djärv <jan.h.d@swipnet.se>
* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976)
2014-03-30 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
......
......@@ -1054,8 +1054,10 @@ - (Lisp_Object)runMenuAt: (NSPoint)p forFrame: (struct frame *)f
Under NS we just hide the toolbar until it might be needed again.
-------------------------------------------------------------------------- */
{
EmacsView *view = FRAME_NS_VIEW (f);
block_input ();
[[FRAME_NS_VIEW (f) toolbar] setVisible: NO];
view->wait_for_tool_bar = NO;
[[view toolbar] setVisible: NO];
FRAME_TOOLBAR_HEIGHT (f) = 0;
unblock_input ();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment