input: restart cursor blink on keyboard input

This makes the cursor stay unblinking while typing.
This commit is contained in:
Daniel Eklöf 2019-12-16 21:33:44 +01:00
parent f4e5baa123
commit 66b948750e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -203,6 +203,9 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
return;
}
/* Prevent blinking while typing */
term_cursor_blink_restart(term);
key += 8;
bool should_repeat = xkb_keymap_key_repeats(wayl->kbd.xkb_keymap, key);
xkb_keysym_t sym = xkb_state_key_get_one_sym(wayl->kbd.xkb_state, key);