summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lwlib/ChangeLog5
-rw-r--r--lwlib/lwlib-Xaw.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index eb2dd13432a..3275c3b68b1 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
+
+ * lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
+ pops down on Escape, not any keypress.
+
2004-11-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xlwmenu.c (find_first_selectable, find_next_selectable)
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c
index 867193c7cc8..b0f3f6abce8 100644
--- a/lwlib/lwlib-Xaw.c
+++ b/lwlib/lwlib-Xaw.c
@@ -279,7 +279,7 @@ static char overrideTrans[] =
"<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}