summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-24 12:39:50 +0200
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2021-09-24 13:29:30 +0200
commit4ec8fd5377bb05ef5646ab461e3957e201c1b9fb (patch)
treec9ef6719d03ef854b3da26862a7f1cd3d5a8112d /config.def.h
parent3bec5176555e9ca56898c909dd9e90dae0d126b6 (diff)
downloadnsxiv-4ec8fd5377bb05ef5646ab461e3957e201c1b9fb.tar.zst
make keyhandler abort key configurable via config.h
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 0c09c4d..0645b2b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -70,6 +70,9 @@ static const int THUMB_SIZE = 3;
/* Following modifiers (NumLock | CapsLock) will be ignored when processing keybindings */
static const int ignore_mask = Mod2Mask | LockMask;
+/* abort the keyhandler */
+static const KeySym keyhandler_abort = XK_Escape;
+
/* keyboard mappings for image and thumbnail mode: */
static const keymap_t keys[] = {
/* modifiers key function argument */