Use wl_client_post_global() for connect events
This commit is contained in:
parent
320a5634cf
commit
7e4f44e2ba
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user