mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-07 04:06:37 -05:00
Pass object ID not pointer when sending a global announce event
When the type for the first argument of the global event changed from new_id to uint, wl_connection_vmarshal started expecting an integer argument rather than an object argument. As a result we were sending the client a chunk of pointer rather than a useful global identifier.
This commit is contained in:
parent
a8db57befa
commit
c86ba825c4
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ wl_client_post_global(struct wl_client *client, struct wl_object *object)
|
|||
wl_client_post_event(client,
|
||||
&client->display->object,
|
||||
WL_DISPLAY_GLOBAL,
|
||||
object,
|
||||
object->id,
|
||||
object->interface->name,
|
||||
object->interface->version);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue