diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-05-29 07:16:27 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-05-29 07:16:27 +0000 |
commit | 3c9ce1c4f3391e770933b1fee9a490b6a4330ac1 (patch) | |
tree | 081af50ec73692f69987ef4d3241d61b712a724a /lwlib | |
parent | 9b002b8d0ce837c5af429b5d87106ae32a212ee5 (diff) | |
download | emacs-3c9ce1c4f3391e770933b1fee9a490b6a4330ac1.tar.gz |
(Drag): Do nothing unless menu.popped_up field is set.
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/xlwmenu.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |