server: add xdg-toplevel-drag-v1 manager

Add the xdg-toplevel-drag-v1 protocol manager to the server. This
protocol allows clients to attach a toplevel window to an ongoing
drag-and-drop operation, enabling features like browser tab tear-off.
This commit is contained in:
Ryan Walklin 2025-12-12 16:51:20 +13:00
parent f4aba22582
commit bad8a87f4c
2 changed files with 6 additions and 0 deletions

View file

@ -123,6 +123,8 @@ struct sway_server {
struct wl_listener request_set_cursor_shape;
struct wlr_xdg_toplevel_drag_manager_v1 *xdg_toplevel_drag_manager;
struct wlr_tearing_control_manager_v1 *tearing_control_v1;
struct wl_listener tearing_control_new_object;
struct wl_list tearing_controllers; // sway_tearing_controller::link