about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-07-05 16:42:46 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-07-05 16:42:46 +0200
commita219fc0c8dd0179ffcda34c002a9d04b26fc7743 (patch)
treec6655a6202c063658eb079b4ddd6efdf5afee32d
parent8f4af0c3e86e07a734198bad940d7a7493a72fdb (diff)
downloadxdu-a219fc0c8dd0179ffcda34c002a9d04b26fc7743.tar.gz
xdu-a219fc0c8dd0179ffcda34c002a9d04b26fc7743.tar.xz
xdu-a219fc0c8dd0179ffcda34c002a9d04b26fc7743.zip
close help window on q (from debian)
-rw-r--r--xwin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xwin.c b/xwin.c
index 8113809..5ded885 100644
--- a/xwin.c
+++ b/xwin.c
@@ -469,6 +469,7 @@ Mouse Commands\n\
 
 	trans_table = XtParseTranslationTable("<Key>Q: RemoveHelp()");
 	XtAugmentTranslations(form, trans_table);
+	XtOverrideTranslations(text, trans_table);
 
 	/* Set up ICCCM delete window */
 	wm_delete_window = XInternAtom(XtDisplay(popup), "WM_DELETE_WINDOW", False);