diff options
author | vaxerski <[email protected]> | 2023-01-02 12:06:06 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-01-02 12:06:06 +0100 |
commit | 85d1b06a7962f007111727a2f2a550a128cec60d (patch) | |
tree | 263d4c48cbe7d261b5589879f46daadde4f90700 | |
parent | cb4f7482269664dd20c373eef5d862a770df1643 (diff) | |
download | Hyprland-85d1b06a7962f007111727a2f2a550a128cec60d.tar.gz Hyprland-85d1b06a7962f007111727a2f2a550a128cec60d.zip |
clean draggedwindow in dragend
-rw-r--r-- | src/layout/IHyprLayout.cpp | 2 |
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(); |