projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320a563
)
Use wl_client_post_global() for connect events
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 14 Apr 2011 20:29:59 +0000
(16:29 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 18 Apr 2011 14:24:50 +0000
(10:24 -0400)
wayland/wayland-server.c
patch
|
blob
|
history
diff --git
a/wayland/wayland-server.c
b/wayland/wayland-server.c
index
a8fb15f
..
082a6a1
100644
(file)
--- a/
wayland/wayland-server.c
+++ b/
wayland/wayland-server.c
@@
-244,11
+244,7
@@
wl_client_create(struct wl_display *display, int fd)
wl_display_post_range(display, client);
wl_list_for_each(global, &display->global_list, link)
- wl_client_post_event(client, &client->display->object,
- WL_DISPLAY_GLOBAL,
- global->object,
- global->object->interface->name,
- global->object->interface->version);
+ wl_client_post_global(client, global->object);
return client;
}