From 85d1b06a7962f007111727a2f2a550a128cec60d Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 2 Jan 2023 12:06:06 +0100 Subject: [PATCH] clean draggedwindow in dragend --- src/layout/IHyprLayout.cpp | 2 ++ 1 file changed, 2 insertions(+) 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();