From: Karl Heuer Date: Mon, 29 May 1995 07:16:27 +0000 (+0000) Subject: (Drag): Do nothing unless menu.popped_up field is set. X-Git-Tag: emacs-19.34~3871 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c9ce1c4f3391e770933b1fee9a490b6a4330ac1;p=emacs.git (Drag): Do nothing unless menu.popped_up field is set. --- 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