master: fix moving window between monitors (#3721)

This commit is contained in:
thejch 2023-11-02 10:20:32 -07:00 committed by GitHub
parent ef90d1eaaf
commit f10996b575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection direc
const auto MOUSECOORDS = g_pInputManager->getMouseCoordsInternal(); const auto MOUSECOORDS = g_pInputManager->getMouseCoordsInternal();
if (g_pInputManager->m_bWasDraggingWindow) { if (g_pInputManager->m_bWasDraggingWindow && OPENINGON) {
for (auto& wd : OPENINGON->pWindow->m_dWindowDecorations) { for (auto& wd : OPENINGON->pWindow->m_dWindowDecorations) {
if (!wd->allowsInput()) if (!wd->allowsInput())
continue; continue;