Commit 3c9ce1c4 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Drag): Do nothing unless menu.popped_up field is set.

parent 9b002b8d
......@@ -1371,7 +1371,8 @@ Drag (w, ev, params, num_params)
Cardinal *num_params;
{
XlwMenuWidget mw = (XlwMenuWidget)w;
handle_motion_event (mw, &ev->xmotion);
if (mw->menu.popped_up)
handle_motion_event (mw, &ev->xmotion);
}
static void
......
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