clean draggedwindow in dragend

This commit is contained in:
Vaxry 2023-01-02 12:06:06 +01:00
parent cb4f748226
commit 85d1b06a79

View file

@ -190,6 +190,8 @@ void IHyprLayout::onEndDragWindow() {
if (!g_pCompositor->windowValidMapped(DRAGGINGWINDOW)) if (!g_pCompositor->windowValidMapped(DRAGGINGWINDOW))
return; return;
g_pInputManager->currentlyDraggedWindow = nullptr;
if (DRAGGINGWINDOW->m_bDraggingTiled) { if (DRAGGINGWINDOW->m_bDraggingTiled) {
DRAGGINGWINDOW->m_bIsFloating = false; DRAGGINGWINDOW->m_bIsFloating = false;
g_pInputManager->refocus(); g_pInputManager->refocus();