From 63b298f3c74c5377638cb4db03da835598dbe7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 20 Jun 2012 23:04:58 -0400 Subject: [PATCH] terminal: Set blank cursor on keyboard press This way we can better see the contents of the terminal. Show cursor again on pointer motion. --- clients/terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/terminal.c b/clients/terminal.c index 7b2ce213..ec0f1de5 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -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)