From f10996b5753bfc854b019f6889d6bc0c91961e3f Mon Sep 17 00:00:00 2001 From: thejch <66577496+thejch@users.noreply.github.com> Date: Thu, 2 Nov 2023 10:20:32 -0700 Subject: [PATCH] master: fix moving window between monitors (#3721) --- src/layout/MasterLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index abc0fe9c..b5917eeb 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -94,7 +94,7 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection direc const auto MOUSECOORDS = g_pInputManager->getMouseCoordsInternal(); - if (g_pInputManager->m_bWasDraggingWindow) { + if (g_pInputManager->m_bWasDraggingWindow && OPENINGON) { for (auto& wd : OPENINGON->pWindow->m_dWindowDecorations) { if (!wd->allowsInput()) continue;