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

This commit is contained in:
Karl Heuer 1995-05-29 07:16:27 +00:00
parent 9b002b8d0c
commit 3c9ce1c4f3

View file

@ -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