wlroots/protocol
Ryan Walklin 44475dc062 types: implement xdg-toplevel-drag-v1 protocol
This protocol allows clients to attach a toplevel window to an ongoing
drag-and-drop operation, enabling features like browser tab tear-off.

The attached toplevel follows the cursor during the drag, moving as if
xdg_toplevel.move was called. The window is automatically detached when
unmapped or when its surface is destroyed.

Implementation details:

- Listen to both unmap and destroy events on the toplevel surface to
  properly clean up when the surface is destroyed while still mapped

- Emit new_toplevel_drag event when a drag is created, allowing
  compositors to track attached toplevels

- The toplevel pointer becomes NULL when detached, which compositors
  must handle during motion events.
2025-12-12 23:31:56 +13:00
..
drm.xml protocol: add drm.xml 2021-01-10 11:32:00 +01:00
input-method-unstable-v2.xml input-method-unstable-v2: surrounding text sends surrounding text 2025-11-23 17:14:01 +00:00
meson.build types: implement xdg-toplevel-drag-v1 protocol 2025-12-12 23:31:56 +13:00
server-decoration.xml Add server-decoration skeleton 2017-10-24 21:56:18 +02:00
virtual-keyboard-unstable-v1.xml virtual-keyboard: add support for the virtual-keyboard-v1 protocol 2018-05-28 10:05:55 +02:00
wlr-data-control-unstable-v1.xml Update data-control 2019-02-15 11:58:33 +01:00
wlr-export-dmabuf-unstable-v1.xml protocols: sync with wlr-protocols, apply non-breaking updates and doc improvements 2025-09-10 09:50:09 -04:00
wlr-foreign-toplevel-management-unstable-v1.xml protocols: sync with wlr-protocols, apply non-breaking updates and doc improvements 2025-09-10 09:50:09 -04:00
wlr-gamma-control-unstable-v1.xml protocols: sync with wlr-protocols, apply non-breaking updates and doc improvements 2025-09-10 09:50:09 -04:00
wlr-layer-shell-unstable-v1.xml layer-shell: add v5 support 2024-08-18 01:02:08 +00:00
wlr-output-management-unstable-v1.xml protocols: sync with wlr-protocols, apply non-breaking updates and doc improvements 2025-09-10 09:50:09 -04:00
wlr-output-power-management-unstable-v1.xml protocols: sync with wlr-protocols, apply non-breaking updates and doc improvements 2025-09-10 09:50:09 -04:00
wlr-screencopy-unstable-v1.xml protocols: sync with wlr-protocols, apply non-breaking updates and doc improvements 2025-09-10 09:50:09 -04:00
wlr-virtual-pointer-unstable-v1.xml virtual-pointer: Add request for mapping to specific output 2020-02-10 21:01:38 +01:00