aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2016-09-20 19:58:54 +0000
committerokan2016-09-20 19:58:54 +0000
commit1ccd2b29745acb096b33808dfac0a1b65b597f49 (patch)
tree30d12e8c86fdb26580a34faf55827375f8423fcc /menu.c
parente3ef653b533268a266d826dc86e82d56f9690000 (diff)
downloadcwm-1ccd2b29745acb096b33808dfac0a1b65b597f49.tar.gz
Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 1b0ce1f..42a6077 100644
--- a/menu.c
+++ b/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;
}
}