projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9c8f8
)
Don't crash when there's no primary surface.
author
Kristian Høgsberg
<krh@redhat.com>
Tue, 10 Feb 2009 23:30:14 +0000
(18:30 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Tue, 10 Feb 2009 23:30:14 +0000
(18:30 -0500)
wayland-system-compositor.c
patch
|
blob
|
history
diff --git
a/wayland-system-compositor.c
b/wayland-system-compositor.c
index
a0ab5f9
..
384b86d
100644
(file)
--- a/
wayland-system-compositor.c
+++ b/
wayland-system-compositor.c
@@
-1014,7
+1014,7
@@
notify_key(struct wlsc_input_device *device,
case KEY_LEFTMETA | META_DOWN:
case KEY_RIGHTMETA | META_DOWN:
ec->meta_state = state ? META_DOWN : 0;
- if (state == 0) {
+ if (state == 0
&& ec->primary != NULL
) {
ec->primary->target.z = 0;
wl_list_remove(&ec->primary->animate.link);
wl_list_insert(&ec->animate_list,