aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-01 18:31:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-07 19:44:10 +0000
commit5745c610ac5e9b96f9bac8347c6a5645d89a66c6 (patch)
tree35654525ee5e61183aee4665bc3a27d913d302e5 /input.c
parentime: feed committed string to client application (diff)
ime: wip: commit all changes in ‘done()’
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/input.c b/input.c
index 31c1d816..4abbb89e 100644
--- a/input.c
+++ b/input.c
@@ -21,7 +21,7 @@
#include <xdg-shell.h>
#define LOG_MODULE "input"
-#define LOG_ENABLE_DBG 0
+#define LOG_ENABLE_DBG 1
#include "log.h"
#include "config.h"
#include "commands.h"
@@ -752,6 +752,8 @@ keymap_lookup(struct seat *seat, struct terminal *term,
const enum keypad_keys keypad_keys_mode
= term->num_lock_modifier ? KEYPAD_NUMERICAL : term->keypad_keys_mode;
+ log_dbg("keypad mode: %d, num-lock=%d", keypad_keys_mode, seat->kbd.num);
+
for (size_t j = 0; j < count; j++) {
if (info[j].modifiers != MOD_ANY && info[j].modifiers != mods)
continue;