summaryrefslogtreecommitdiff
path: root/src/layout/supplementary
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-03-02 18:57:09 +0000
committerGitHub <noreply@github.com>2026-03-02 18:57:09 +0000
commitd98f7ffaf5ce8fcfe901e4cdcb3dc0d1a5f48816 (patch)
treee4d35bfca286f36d56f859370aa0b5b2f8681c24 /src/layout/supplementary
parent5f650f8ed99705f51b473e592c974a7ddaa3c9d7 (diff)
layout: store and preserve size and pos after fullscreen (#13500)
ref https://github.com/hyprwm/Hyprland/discussions/13401
Diffstat (limited to 'src/layout/supplementary')
-rw-r--r--src/layout/supplementary/DragController.cpp2
1 files changed, 2 insertions, 0 deletions
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;