aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-02 12:06:06 +0100
committervaxerski <[email protected]>2023-01-02 12:06:06 +0100
commit85d1b06a7962f007111727a2f2a550a128cec60d (patch)
tree263d4c48cbe7d261b5589879f46daadde4f90700
parentcb4f7482269664dd20c373eef5d862a770df1643 (diff)
downloadHyprland-85d1b06a7962f007111727a2f2a550a128cec60d.tar.gz
Hyprland-85d1b06a7962f007111727a2f2a550a128cec60d.zip
clean draggedwindow in dragend
-rw-r--r--src/layout/IHyprLayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 59592958..ab3d76b0 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -190,6 +190,8 @@ void IHyprLayout::onEndDragWindow() {
if (!g_pCompositor->windowValidMapped(DRAGGINGWINDOW))
return;
+ g_pInputManager->currentlyDraggedWindow = nullptr;
+
if (DRAGGINGWINDOW->m_bDraggingTiled) {
DRAGGINGWINDOW->m_bIsFloating = false;
g_pInputManager->refocus();