ime: wip: commit all changes in ‘done()’

This commit is contained in:
Daniel Eklöf 2020-12-01 19:31:49 +01:00
parent b85e2f40bb
commit 5745c610ac
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 64 additions and 6 deletions

View file

@ -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;