Kristian Høgsberg
82da52b15b
Update surface.attach and change surface.map to surface.map_toplevel
...
The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer. The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer.
14 years ago
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.
14 years ago
Joel Teichroeb
0c007aea35
Make the dnd client actually work.
...
The dnd client now sends a mime type of
application/x-wayland-dnd-flower instead of text/plain. The dnd
message is just the position and random seed that lets the drop source
add the flower to its grid.
14 years ago
Kristian Høgsberg
d44bc8b8ee
Add reject round trip to dnd protocol
...
This lets a drag target reject a drop.
14 years ago
Kristian Høgsberg
41da90897c
Don't hardcode offered dnd types in window.c
14 years ago
Yuval Fledel
e9f5e36730
Make clients exit orderly when there is no connection
14 years ago
Kristian Høgsberg
012a007771
Add small client for testing shm surfaces
14 years ago
Kristian Høgsberg
ce457ba68c
Add timestamp to pointer image attach request
...
This lets the server discard requests received after the pointer has
exited and the re-entered a surface.
14 years ago
Kristian Høgsberg
9d69f8e796
Replace commit/ack/frame protocol with simpler sync and frame callbacks
14 years ago
Kristian Høgsberg
e9d37bdc5f
Use a transient object for the dnd session
14 years ago
Kristian Høgsberg
e968f9c6b9
Provide visual feedback as to whether drop is supported
...
Change the cursor in response to target events.
14 years ago
Kristian Høgsberg
4eb536091a
Update drag protocol to use fd passing for data transfer
14 years ago
Kristian Høgsberg
1d7ffd32f8
Set pointer image only in response to 'target' event
14 years ago
Kristian Høgsberg
506e20eed9
More work on dnd
14 years ago
Kristian Høgsberg
b8cc24e1a8
Actually add dnd client
14 years ago