aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-04 05:33:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-04 05:33:15 +0000
commitd929862245ba4e7887a9eef63b21b3e34e2f29ce (patch)
tree6591375539a6ec7836b0d84682f9bbf74e5953b0 /input.c
parentfootrc: add new option 'scrollback.multiplier' (diff)
config: move cursor.hide-when-typing to mouse.hide-when-typing
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 97563930..77922c1a 100644
--- a/input.c
+++ b/input.c
@@ -700,7 +700,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
bool should_repeat = xkb_keymap_key_repeats(seat->kbd.xkb_keymap, key);
xkb_keysym_t sym = xkb_state_key_get_one_sym(seat->kbd.xkb_state, key);
- if (state == XKB_KEY_DOWN && term->conf->cursor.hide_when_typing &&
+ if (state == XKB_KEY_DOWN && term->conf->mouse.hide_when_typing &&
/* TODO: better way to detect modifers */
sym != XKB_KEY_Shift_L && sym != XKB_KEY_Shift_R &&
sym != XKB_KEY_Control_L && sym != XKB_KEY_Control_R &&