Kristian Høgsberg
5753188e16
Move basic grab handling to core libraries
2011-01-05 17:34:54 -05:00
Kristian Høgsberg
c5c510ec75
Set up visuals in wayland-server
...
Still very much hand-wavey, but at least it's only in one place now.
2010-12-08 15:12:58 -05:00
Kristian Høgsberg
b3fc757cd8
Handle buttons in grab objects too
2010-12-08 11:07:57 -05:00
Kristian Høgsberg
9c3e8d734e
Move grab state to struct wl_input_device
2010-12-08 09:48:52 -05:00
Kristian Høgsberg
287343a0d3
Use a grab object for drag and drop
2010-12-07 14:58:57 -05:00
Kristian Høgsberg
4be2ed9611
Drop dummy wl_grab_surface hack
2010-12-07 09:15:57 -05:00
Kristian Høgsberg
7132a9aeb8
Move get_time() helper back into compositor
2010-12-06 21:41:10 -05:00
Kristian Høgsberg
4685fa324f
Pass timestamp in surface destroy callback
2010-12-06 21:38:50 -05:00
Kristian Høgsberg
02ef1c1aca
Move focus tracking surface destroy callbacks into core
2010-12-06 21:35:19 -05:00
Kristian Høgsberg
3d76e652c5
Use the per-surface destroy callback for grabs as well
2010-12-06 17:33:11 -05:00
Kristian Høgsberg
ab8475cafd
Move get_time() helper to core
...
We'll need a better strategy for generating timestamps without input events
or pageflips. At least we'll need to ensure everybody is using the same
underlying time source.
2010-12-06 16:56:28 -05:00
Kristian Høgsberg
c551bd2ae8
Add a surface destroy callback and use it for focus tracking
2010-12-06 16:43:16 -05:00
Kristian Høgsberg
b313b02983
Chage the 'base' field to be the name of the super class instead
...
Instead of display->base.base we want display->proxy.object, or
buffer->buffer.resource.object.id = id;
which makes it clear what we end up addressing.
2010-12-01 17:35:45 -05:00
Kristian Høgsberg
2bb3ebe1e4
Create socket in /var/run/user/${HOME}
...
Use the runtime dir from XDG Base Directory Specification for creating the
socket in a directory only the user can read and write.
2010-12-01 16:53:01 -05:00
Kristian Høgsberg
2643707391
Move pointer and keyboard focus tracking into libwayland-server
2010-12-01 10:17:47 -05:00
Kristian Høgsberg
06bc26401c
Fix warnings from adding -Wall back
2010-12-01 09:50:16 -05:00
Kristian Høgsberg
b163cef6e7
Make the server event loop embeddable
...
By exposing the epoll fd, we can embed the server event loop in other
main loops suchs as Qt or GTK+.
2010-11-19 10:47:28 -05:00
Kristian Høgsberg
3d5bae0700
Add a shm buffer sharing mechanism
2010-10-06 21:17:40 -04:00
Kristian Høgsberg
6dd08ebbe1
Move core protocol libraries into wayland/ subdirectory
2010-09-14 12:41:55 -04:00