aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-04 05:38:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-04 05:38:21 +0000
commita371ea0f02eb8a415ce697f7f23b9e7cf07ccd2e (patch)
tree24ccc364738a98dfdcf3723be7f96a09309c7aea /input.c
parentconfig: move cursor.hide-when-typing to mouse.hide-when-typing (diff)
input: ignore ISO Level 3 Shift (AltGr) when hiding the mouse cursor
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c
index 77922c1a..26a8db06 100644
--- a/input.c
+++ b/input.c
@@ -705,6 +705,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
sym != XKB_KEY_Shift_L && sym != XKB_KEY_Shift_R &&
sym != XKB_KEY_Control_L && sym != XKB_KEY_Control_R &&
sym != XKB_KEY_Alt_L && sym != XKB_KEY_Alt_R &&
+ sym != XKB_KEY_ISO_Level3_Shift &&
sym != XKB_KEY_Super_L && sym != XKB_KEY_Super_R &&
sym != XKB_KEY_Meta_L && sym != XKB_KEY_Meta_R &&
sym != XKB_KEY_Menu)
@@ -713,7 +714,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
term_xcursor_update_for_seat(term, seat);
}
-#if 0
+#if 1
char foo[100];
xkb_keysym_get_name(sym, foo, sizeof(foo));
LOG_INFO("%s", foo);