From a9acfb9be6d8934256468d8a8fdc8799c8027a37 Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Tue, 20 Sep 2016 19:58:55 +0000 Subject: Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell --- app/cwm/menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/cwm') diff --git a/app/cwm/menu.c b/app/cwm/menu.c index 1b0ce1f25..42a6077fb 100644 --- a/app/cwm/menu.c +++ b/app/cwm/menu.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.91 2016/08/28 15:23:24 okan Exp $ + * $OpenBSD: menu.c,v 1.92 2016/09/20 19:58:54 okan Exp $ */ #include @@ -565,6 +565,9 @@ menu_keycode(XKeyEvent *ev, enum ctltype *ctl, char *chr) case XK_A: *ctl = CTL_ALL; break; + case XK_bracketleft: + *ctl = CTL_ABORT; + break; } } -- cgit v1.2.3