From 3c9ce1c4f3391e770933b1fee9a490b6a4330ac1 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 29 May 1995 07:16:27 +0000 Subject: (Drag): Do nothing unless menu.popped_up field is set. --- lwlib/xlwmenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lwlib') diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 8ed2974003d..4083183e31f 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -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 -- cgit v1.2.1