projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e63c63
)
Initialize surface->link so we can always wl_list_remove() it
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 6 Jan 2011 20:32:14 +0000
(15:32 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 6 Jan 2011 20:32:14 +0000
(15:32 -0500)
In particular, even if we never added it to the compositor surface list.
compositor/compositor.c
patch
|
blob
|
history
diff --git
a/compositor/compositor.c
b/compositor/compositor.c
index
2146c9b
..
29a1f52
100644
(file)
--- a/
compositor/compositor.c
+++ b/
compositor/compositor.c
@@
-129,6
+129,7
@@
wlsc_surface_create(struct wlsc_compositor *compositor,
return NULL;
wl_list_init(&surface->surface.destroy_listener_list);
+ wl_list_init(&surface->link);
glGenTextures(1, &surface->texture);
glBindTexture(GL_TEXTURE_2D, surface->texture);