diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-01 18:31:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-12-07 19:44:10 +0000 |
| commit | 5745c610ac5e9b96f9bac8347c6a5645d89a66c6 (patch) | |
| tree | 35654525ee5e61183aee4665bc3a27d913d302e5 /input.c | |
| parent | ime: feed committed string to client application (diff) | |
ime: wip: commit all changes in ‘done()’
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |
