diff --git a/dmenubar/dmenu.1 b/dmenubar/dmenu.1 index db919db..926b559 100644 --- a/dmenubar/dmenu.1 +++ b/dmenubar/dmenu.1 @@ -41,7 +41,7 @@ Confirm selection and quit (print the selected item to stdout). Shift-Return Confirm selection and quit (print the text in the input field to stdout). .TP -Escape (Control-[) +Escape Quit without selecting an item. .TP Backspace (Control-h) diff --git a/dmenubar/main.c b/dmenubar/main.c index 561f88f..3458fd5 100644 --- a/dmenubar/main.c +++ b/dmenubar/main.c @@ -174,16 +174,12 @@ kpress(XKeyEvent * e) case XK_h: ksym = XK_BackSpace; break; - case XK_U: case XK_u: text[0] = 0; match(text); drawmenu(); return; break; - case XK_bracketleft: - ksym = XK_Escape; - break; } } switch(ksym) {