aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
authorKarl F <karlf@thep.lu.se>2012-01-19 22:52:17 +0000
committerKarl F <karlf@thep.lu.se>2012-01-19 22:52:17 +0000
commit50145384c821bb05f5497e80a006fee2db9f145b (patch)
tree6293cb89ee95cd72fa19d4863abdacbb28431965 /dmenu.c
parent7707111c109f105b8b404c3250dca879bb94407c (diff)
downloaddmenu-50145384c821bb05f5497e80a006fee2db9f145b.tar.gz
dmenu-50145384c821bb05f5497e80a006fee2db9f145b.tar.bz2
dmenu-50145384c821bb05f5497e80a006fee2db9f145b.zip
add ^G escape keybinding
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmenu.c b/dmenu.c
index 4ea95f8..fad4443 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -251,6 +251,7 @@ keypress(XKeyEvent *ev) {
case XK_d: ksym = XK_Delete; break;
case XK_e: ksym = XK_End; break;
case XK_f: ksym = XK_Right; break;
+ case XK_g: ksym = XK_Escape; break;
case XK_h: ksym = XK_BackSpace; break;
case XK_i: ksym = XK_Tab; break;
case XK_j: ksym = XK_Return; break;