Kristian Høgsberg
3d76e652c5
Use the per-surface destroy callback for grabs as well
14 years ago
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.
14 years ago
Kristian Høgsberg
c551bd2ae8
Add a surface destroy callback and use it for focus tracking
14 years ago
Kristian Høgsberg
f8fc08f771
Add origin information to output.geometry event
14 years ago
Kristian Høgsberg
aa82767c98
Use generated wl_interface for visuals
14 years ago
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.
14 years ago
Kristian Høgsberg
caa6442556
compositor: Use a virtual destructor when shutting down
...
Backend can now rely on their destroy function getting called on shutdown,
so reset tty etc there instead of handling SIGTERM twice.
14 years ago
Kristian Høgsberg
50dc6989b8
compositor: Shut down properly so we remove the socket
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
Kristian Høgsberg
0611e3efc2
Indentation nit-picking
14 years ago
Kristian Høgsberg
2643707391
Move pointer and keyboard focus tracking into libwayland-server
14 years ago
Kristian Høgsberg
06bc26401c
Fix warnings from adding -Wall back
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
Benjamin Franzke
ec2e64224b
Add wayland backend for compositor (nested)
14 years ago
Kristian Høgsberg
3d46534f4a
Fix compositor crash when dragging to a surface that disappears
14 years ago
Chia-I Wu
1f411902de
Use glTexSubImage to update the pixels.
...
glTexImage causes respecification. The DRM buffer a client renders to
will be different from that used to create the wl_buffer.
14 years ago
Kristian Høgsberg
61a8251360
Add a geometry option for x11 compositor
14 years ago
Kristian Høgsberg
3d5bae0700
Add a shm buffer sharing mechanism
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
76b43326a5
Move example compositor to subdirectory
14 years ago
Kristian Høgsberg
99d7c64d1b
Remove non-gles2 glEnable(GL_TEXTURE_2D) call
14 years ago
Kristian Høgsberg
50038e4757
Drop wl_surface_post_event() helper
...
Now wl_client_post_event() is the only entry point for sending out events.
14 years ago
Kristian Høgsberg
f8ffded1e5
Drop wl_display_set_compositor() special case
14 years ago
Kristian Høgsberg
9d69f8e796
Replace commit/ack/frame protocol with simpler sync and frame callbacks
14 years ago
Kristian Høgsberg
13b8ae4986
Add convenience functions for posting display events
14 years ago
Kristian Høgsberg
f66d0f4e14
Get rid of wl_client_add_surface() special case
14 years ago
Kristian Høgsberg
e9d37bdc5f
Use a transient object for the dnd session
14 years ago
Kristian Høgsberg
b571f5db6b
Handle NULL mime-type in drag::accept request
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
b12fcceeb7
Update to EGL_MESA_drm_image from mesa master
...
Woo, running on stock mesa now.
14 years ago
Kristian Høgsberg
506e20eed9
More work on dnd
14 years ago
Kristian Høgsberg
eef08fbb1a
First step towards drag and drop protocol
14 years ago
Kristian Høgsberg
225a176882
Split GRAB_MOTION and GRAB_MOVE handling
14 years ago
Kristian Høgsberg
f4cb201392
Fix a few bugs in compositor cursor handling
14 years ago
Kristian Høgsberg
4219a407ae
Add DMZ cursor theme
...
Some day we can make this parse X cursor themes
14 years ago
Kristian Høgsberg
77a4a79559
Fix warnings
14 years ago
Kristian Høgsberg
b91cd10fcb
Move cairo-util.[ch] to clients/
14 years ago
Kristian Høgsberg
1db21f1cf5
Use different cursor images in the compositor
14 years ago
Kristian Høgsberg
77fb167956
Add protocol for setting the pointer image
14 years ago
Kristian Høgsberg
117d5130b1
Schedule repaint from surface destructor
...
Not just the surface_destroy protocol entry points.
15 years ago
Kristian Høgsberg
a661f263b4
Name libraries -client and -server for consistency
...
Instead of wayland-server and wayland...
15 years ago
Kristian Høgsberg
5fcd0aa58e
Introduce 'buffer' object for attaching, image cahce and cursor images
...
The buffer object is created by a 'drm' object, which encapsulates the
buffer sharing and authentication mechanism. Once the buffer is created
it can be attached to a surface.
15 years ago
Kristian Høgsberg
6d70202f80
Send out coordinates with pointer_focus event
...
We can't rely on motion events happening right away, pointer_focus could
change because of windows coming or going etc.
15 years ago
Kristian Høgsberg
c071f4d008
Handle failure to reference a buffer name better
15 years ago
Kristian Høgsberg
5b75f1b218
Implement server side move override
15 years ago
Kristian Høgsberg
83fc061c9c
Introduce 'shell' object for moving and resizing surfaces in the compositor
15 years ago
Kristian Høgsberg
a1f3f60bea
Generate protocol types and metadata from xml
15 years ago
Kristian Høgsberg
808fd41861
Drop coordinates from buttons press, add timestamp to events
15 years ago
Kristian Høgsberg
747638b46b
Fix window picking order
15 years ago