Commit 889a7014 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(redisplay_window): Set ignore_mouse_drag_p if tool-bar

is resized to avoid generating a mouse drag event.
parent 3b0cdcef
......@@ -13451,8 +13451,11 @@ redisplay_window (window, just_this_one_p)
#endif
if (redisplay_tool_bar_p)
redisplay_tool_bar (f);
if (redisplay_tool_bar_p && redisplay_tool_bar (f))
{
extern int ignore_mouse_drag_p;
ignore_mouse_drag_p = 1;
}
#endif
}
......
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