Add xdg-toplevel-drag protocol

Open David Redondo requested to merge davidre/wayland-protocols:topleveldrag into main

This protocol allows applications to request that a window is moved at the same time as a drag operation - effectively dragging windows. With this features such as detaching a tab from a window and reattaching it, dragging tabs between windows or (un)dockable tool windows can be implemented. Based on the previously proposed extended drag protocol but trimmed down.

Signed-off-by: David Redondo

The previous proposal was !46,

Requirements for merging

  • Review
  • Implementations
  • ACKs from members
  • Mir @RAOF


Videosshowing the Qt and KWin implementation in action:

topleveldrag qtworking

Chrome in KWin:


Edited by David Redondo

Merge request reports