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

@ -61,7 +61,7 @@ struct wl_interface {
struct wl_object {
const struct wl_interface *interface;
void (**implementation)(void);
void (* const * implementation)(void);
uint32_t id;
};