Always allocate a new wl_resource when binding an object

Previously we would bind some resources into multiple client hash tables.
This commit is contained in:
Kristian Høgsberg 2011-08-19 16:57:48 -04:00
parent c4774d55e9
commit cc6fd94d6a
5 changed files with 151 additions and 113 deletions

View file

@ -66,8 +66,8 @@
server will always announce an object before the object sends
out events. -->
<event name="global">
<arg name="id" type="uint" interface="wl_object"/>
<arg name="name" type="string"/>
<arg name="name" type="uint" interface="wl_object"/>
<arg name="interface" type="string"/>
<arg name="version" type="uint"/>
</event>
@ -109,7 +109,7 @@
</enum>
<event name="token_visual">
<arg name="visual" type="new_id" interface="wl_visual"/>
<arg name="name" type="uint"/>
<arg name="token" type="uint"/>
</event>
</interface>