From d98f7ffaf5ce8fcfe901e4cdcb3dc0d1a5f48816 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Mon, 2 Mar 2026 18:57:09 +0000 Subject: layout: store and preserve size and pos after fullscreen (#13500) ref https://github.com/hyprwm/Hyprland/discussions/13401 --- src/layout/supplementary/DragController.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/supplementary/DragController.cpp') diff --git a/src/layout/supplementary/DragController.cpp b/src/layout/supplementary/DragController.cpp index a28aef07..be70f4ac 100644 --- a/src/layout/supplementary/DragController.cpp +++ b/src/layout/supplementary/DragController.cpp @@ -239,6 +239,8 @@ void CDragStateController::dragEnd() { draggingTarget->damageEntire(); + g_layoutManager->setTargetGeom(draggingTarget->position(), draggingTarget); + Desktop::focusState()->fullWindowFocus(draggingTarget->window(), Desktop::FOCUS_REASON_DESKTOP_STATE_CHANGE); m_wasDraggingWindow = false; -- cgit v1.2.3