summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2016-09-20 19:58:55 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2016-09-20 19:58:55 +0000
commita9acfb9be6d8934256468d8a8fdc8799c8027a37 (patch)
tree35ee5451ec9ce54aeeda4e7777c1d1382d200bc9 /app/cwm
parent3e2f20cd5ee344074161f6fc303a6f141543d240 (diff)
Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/menu.c5
1 files changed, 4 insertions, 1 deletions
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 <sys/types.h>
@@ -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;
}
}