From ed931b955f74937c273cfa18ae3781335dbdcc00 Mon Sep 17 00:00:00 2001 From: Ryan Walklin Date: Fri, 12 Dec 2025 22:53:23 +1300 Subject: [PATCH] input/seat: float tiled containers when attached to drag When a tiled container is attached to a toplevel drag (e.g., re-tearing out a previously tabbed window), float it so it can be moved with the cursor. --- sway/input/seat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/input/seat.c b/sway/input/seat.c index f89d46dcd..cf1e7d2ca 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -467,8 +467,8 @@ static void toplevel_drag_handle_motion(struct wl_listener *listener, void *data } if (!container_is_floating(view->container)) { - // During tearout phase (not yet floating), don't skip hit-testing. - return; + // Tiled container being torn out - float it at cursor position + container_set_floating(view->container, true); } struct wlr_surface *surface = view->surface;