Pass object ID not pointer when sending a global announce event
authorCasey Dahlin <cdahlin@redhat.com>
Mon, 18 Jul 2011 06:00:25 +0000 (02:00 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Jul 2011 17:14:07 +0000 (13:14 -0400)
commitc86ba825c474bbbd9e95bcdbc2b8b577d24322fe
tree38d7065b69ebf491d3cff6728e42995ae7c5e6e3
parenta8db57befa3263c6de24fd9762a4aec3b564d4d3
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.
wayland/wayland-server.c