]> git.eshelyaron.com Git - emacs.git/commitdiff
(Drag): Do nothing unless menu.popped_up field is set.
authorKarl Heuer <kwzh@gnu.org>
Mon, 29 May 1995 07:16:27 +0000 (07:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 29 May 1995 07:16:27 +0000 (07:16 +0000)
lwlib/xlwmenu.c

index 8ed2974003d9e2519b5c295f5a88d77cb4dcff8a..4083183e31f410b9a46a42e48ec007bd73fd3542 100644 (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