summaryrefslogtreecommitdiff
path: root/xc
diff options
context:
space:
mode:
authorconverse <empty>1995-06-28 16:03:40 +0000
committerconverse <empty>1995-06-28 16:03:40 +0000
commit0563977235c3378328fdd2559dd26405bec53c12 (patch)
tree786245c945042691b3c7039b1f658a597faef8f0 /xc
parentf8c75c5c677a992cf12b1711a25c148ce83c1fda (diff)
XtMenuPopup action is ignored if the event passed to the action is
not ButtonPress, KeyPress, or EnterNotify. #7484
Diffstat (limited to 'xc')
-rw-r--r--xc/lib/Xt/TMaction.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xc/lib/Xt/TMaction.c b/xc/lib/Xt/TMaction.c
index 2fc182118..3bbe3810f 100644
--- a/xc/lib/Xt/TMaction.c
+++ b/xc/lib/Xt/TMaction.c
@@ -1,4 +1,4 @@
-/* $XConsortium: TMaction.c,v 1.25 94/04/17 20:14:50 kaleb Exp gildea $ */
+/* $XConsortium: TMaction.c,v 1.26 95/06/08 23:20:39 gildea Exp $ */
/*LINTLIBRARY*/
/***********************************************************
@@ -838,7 +838,8 @@ void XtMenuPopupAction(widget, event, params, num_params)
"invalidPopup","unsupportedOperation",XtCXtToolkitError,
"Pop-up menu creation is only supported on ButtonPress, KeyPress or EnterNotify events.",
(String *)NULL, (Cardinal *)NULL);
- spring_loaded = False;
+ UNLOCK_APP(app);
+ return;
}
popup_shell = _XtFindPopup(widget, params[0]);