mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-24 09:06:39 -04:00
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. |
||
|---|---|---|
| .. | ||
| drm.xml | ||
| input-method-unstable-v2.xml | ||
| meson.build | ||
| server-decoration.xml | ||
| virtual-keyboard-unstable-v1.xml | ||
| wlr-data-control-unstable-v1.xml | ||
| wlr-export-dmabuf-unstable-v1.xml | ||
| wlr-foreign-toplevel-management-unstable-v1.xml | ||
| wlr-gamma-control-unstable-v1.xml | ||
| wlr-layer-shell-unstable-v1.xml | ||
| wlr-output-management-unstable-v1.xml | ||
| wlr-output-power-management-unstable-v1.xml | ||
| wlr-screencopy-unstable-v1.xml | ||
| wlr-virtual-pointer-unstable-v1.xml | ||