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:
109a007
)
compositor: Don't crash when receiving kb focus with no surface
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 6 Sep 2011 17:44:56 +0000
(13:44 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 6 Sep 2011 17:44:56 +0000
(13:44 -0400)
compositor/compositor.c
patch
|
blob
|
history
diff --git
a/compositor/compositor.c
b/compositor/compositor.c
index
8bbd01d
..
db8a94a
100644
(file)
--- a/
compositor/compositor.c
+++ b/
compositor/compositor.c
@@
-1590,7
+1590,7
@@
notify_keyboard_focus(struct wl_input_device *device,
update_modifier_state(wd, *k, 1);
}
- if (es->surface.resource.client)
+ if (es
&& es
->surface.resource.client)
wl_input_device_set_keyboard_focus(&wd->input_device,
&es->surface, time);
} else {