changeset 11987:9619c1121b43

(Drag): Do nothing unless menu.popped_up field is set.
author Karl Heuer <kwzh@gnu.org>
date Mon, 29 May 1995 07:16:27 +0000
parents bfdf35b8c34b
children a1ce6f699967
files lwlib/xlwmenu.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/xlwmenu.c	Mon May 29 07:12:58 1995 +0000
+++ b/lwlib/xlwmenu.c	Mon May 29 07:16:27 1995 +0000
@@ -1371,7 +1371,8 @@
      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