summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
authorthejch <66577496+thejch@users.noreply.github.com>2023-11-02 10:20:32 -0700
committerGitHub <noreply@github.com>2023-11-02 17:20:32 +0000
commitf10996b5753bfc854b019f6889d6bc0c91961e3f (patch)
treef0dc724747ff8bb95a380fd6c90d3669531a29d5 /src/layout/MasterLayout.cpp
parentef90d1eaaf3e246aa89d1e645192da794740156d (diff)
master: fix moving window between monitors (#3721)
Diffstat (limited to 'src/layout/MasterLayout.cpp')
-rw-r--r--src/layout/MasterLayout.cpp2
1 files changed, 1 insertions, 1 deletions
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;