mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-17 12:18:08 +02:00
terminal: Set blank cursor on keyboard press
This way we can better see the contents of the terminal. Show cursor again on pointer motion.
This commit is contained in:
parent
f337052a5c
commit
63b298f3c7
1 changed files with 2 additions and 0 deletions
|
|
@ -2137,6 +2137,8 @@ key_handler(struct window *window, struct input *input, uint32_t time,
|
|||
handle_bound_key(terminal, input, sym, time))
|
||||
return;
|
||||
|
||||
input_set_pointer_image(input, CURSOR_BLANK);
|
||||
|
||||
switch (sym) {
|
||||
case XKB_KEY_F11:
|
||||
if (state == WL_KEYBOARD_KEY_STATE_RELEASED)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue