projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f337052
)
terminal: Set blank cursor on keyboard press
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 21 Jun 2012 03:04:58 +0000
(23:04 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 21 Jun 2012 03:04:58 +0000
(23:04 -0400)
This way we can better see the contents of the terminal. Show cursor again
on pointer motion.
clients/terminal.c
patch
|
blob
|
history
diff --git
a/clients/terminal.c
b/clients/terminal.c
index
7b2ce21
..
ec0f1de
100644
(file)
--- 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)