From 0563977235c3378328fdd2559dd26405bec53c12 Mon Sep 17 00:00:00 2001 From: converse Date: Wed, 28 Jun 1995 16:03:40 +0000 Subject: XtMenuPopup action is ignored if the event passed to the action is not ButtonPress, KeyPress, or EnterNotify. #7484 --- xc/lib/Xt/TMaction.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xc') 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]); -- cgit v1.2.3