Kristian Høgsberg
3e0d4de6ea
Remove range protocol
2011-08-19 17:26:57 -04:00
Kristian Høgsberg
f4144b5012
Destroy client resource by walking client hash table
...
All resources are now in the client hash table and we can clean up
just by walking the hash.
2011-08-19 17:07:14 -04:00
Kristian Høgsberg
45aaecfdd4
Always allocate a new wl_resource when binding an object
...
Previously we would bind some resources into multiple client hash tables.
2011-08-19 16:57:48 -04:00
Kristian Høgsberg
df39eb8f5e
Bind globals to client provided object IDs
2011-08-19 14:39:27 -04:00
Kristian Høgsberg
437051260d
server: Assign global id as part of wl_display_add_global()
2011-08-19 12:05:10 -04:00
Kristian Høgsberg
abe50ff0c8
server: Make object hash table per-client
2011-08-19 11:06:37 -04:00
Kristian Høgsberg
0dddb3087e
Rename global 'func' to 'bind'
2011-08-19 11:05:01 -04:00
Kristian Høgsberg
2df5d2f114
server: Make everything in the object hash a wl_resource
2011-08-18 17:53:50 -04:00
Kristian Høgsberg
936cd607a7
Use a callback object instead of ad-hoc lists for sync and frame events
...
So obvious in retrospect. The object system can do all the work for us
and keep track of pending calls as regular objects and we don't need to
abuse the resource system to get them cleaned up on client exit. We
don't need the custom key management or (broken) lookup, we just sue
object IDs. And last but not least, anybody can receive the callback,
not just display listeners.
2011-08-16 22:33:40 -04:00
Kristian Høgsberg
4c260db68c
Rename source subdir from wayland to src
2011-08-12 16:25:14 -04:00