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:
240dfeb
)
compositor: Don't send wl_surface.enter/leave if we didn't find a resource
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 12 Jul 2012 16:34:43 +0000
(12:34 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 12 Jul 2012 16:34:43 +0000
(12:34 -0400)
src/compositor.c
patch
|
blob
|
history
diff --git
a/src/compositor.c
b/src/compositor.c
index
5420639
..
c06bc5a
100644
(file)
--- a/
src/compositor.c
+++ b/
src/compositor.c
@@
-1342,6
+1342,8
@@
weston_surface_update_output_mask(struct weston_surface *es, uint32_t mask)
resource =
find_resource_for_client(&output->resource_list,
client);
+ if (resource == NULL)
+ continue;
if (1 << output->id & entered)
wl_surface_send_enter(&es->surface.resource, resource);
if (1 << output->id & left)