diff lwlib/lwlib-Xaw.c @ 59085:4ee3b3653b2e

* lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only pops down on Escape, not any keypress.
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 26 Dec 2004 16:02:26 +0000
parents 609ef1718642
children 23a17af379b1 95879cc1ed20
line wrap: on
line diff
--- a/lwlib/lwlib-Xaw.c	Sat Dec 25 20:46:26 2004 +0000
+++ b/lwlib/lwlib-Xaw.c	Sun Dec 26 16:02:26 2004 +0000
@@ -279,7 +279,7 @@
 	"<Message>WM_PROTOCOLS: lwlib_delete_dialog()";
 /* Dialogs pop down on any key press */
 static char dialogOverride[] =
-       "<KeyPress>:	lwlib_delete_dialog()";
+       "<KeyPress>Escape:	lwlib_delete_dialog()";
 static void wm_delete_window();
 static XtActionsRec xaw_actions [] = {
   {"lwlib_delete_dialog", wm_delete_window}