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:
4a35fc2
)
Add new surfaces to client hash table.
author
Kristian Høgsberg
<krh@redhat.com>
Mon, 23 Feb 2009 01:58:29 +0000
(20:58 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Mon, 23 Feb 2009 01:58:29 +0000
(20:58 -0500)
wayland-client.c
patch
|
blob
|
history
diff --git
a/wayland-client.c
b/wayland-client.c
index
5e8f036
..
3c977b2
100644
(file)
--- a/
wayland-client.c
+++ b/
wayland-client.c
@@
-566,6
+566,7
@@
wl_compositor_create_surface(struct wl_compositor *compositor)
surface->proxy.base.interface = &wl_surface_interface;
surface->proxy.base.id = wl_display_allocate_id(compositor->proxy.display);
surface->proxy.display = compositor->proxy.display;
+ wl_hash_insert(compositor->proxy.display->objects, &surface->proxy.base);
wl_proxy_marshal(&compositor->proxy,
WL_COMPOSITOR_CREATE_SURFACE, surface);