projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4d244
)
window: Only repeat key if we still have kb focus
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 20 Jun 2012 19:17:18 +0000
(15:17 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 20 Jun 2012 19:17:18 +0000
(15:17 -0400)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
1cc7dce
..
2d67acd
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-1894,7
+1894,7
@@
keyboard_repeat_func(struct task *task, uint32_t events)
read(input->repeat_timer_fd, &exp, sizeof (uint64_t));
- if (window->key_handler) {
+ if (window
&& window
->key_handler) {
(*window->key_handler)(window, input, input->repeat_time,
input->repeat_key, input->repeat_sym,
WL_KEYBOARD_KEY_STATE_PRESSED,