Kristian Høgsberg
3a69627f43
window: Stop using glib mainloop in toy toolkit
13 years ago
Kristian Høgsberg
9de79a92a6
window.c: Drop global handler argument
...
We can just register a global handler directly on the wl_display now.
13 years ago
Kristian Høgsberg
a8d1fa762e
clients: Bring clients up to date
13 years ago
Kristian Høgsberg
3be87d1931
window: Add support for opaque windows
14 years ago
Kristian Høgsberg
7cbdb64ab6
Fix clients to work with wl_ prefixed interface names
14 years ago
Kristian Høgsberg
91342c6081
Switch to new subscribe protocol and wayland-egl
14 years ago
Tim Wiederhake
b4b67344f0
Define global handler on display creation
...
Otherwise the initial announcement of interfaces gets lost.
14 years ago
Benjamin Franzke
6693ac2108
window: Use window surfaces for windows
14 years ago
Kristian Høgsberg
00439617f3
Fix new gcc 4.6 warnings
...
simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable]
etc.
14 years ago
Kristian Høgsberg
248c1b61ce
Add an orange pop-up menu to test the new map_transient request
14 years ago
Kristian Høgsberg
e164e4ef72
Use cairo_push_group() for all double buffering, drop window_copy_*()
14 years ago
Kristian Høgsberg
943741cb40
Use the global handler in dnd instead of custom drag_offer hook
14 years ago
Kristian Høgsberg
da846ca91d
Fix terminal resizing
...
Get snapping to character grid working again, avoid crashes when attempting
to resize below 1x1 character cell, only redraw when size actually changes.
Also, rename window_get_child_rectangle() to window_get_child_allocation().
14 years ago
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