diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-11-04 13:10:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-04 13:10:52 +0000 |
| commit | 73e78f05ad5cafa20ac5bf177c94ac9ecca37097 (patch) | |
| tree | 20a61de56d8542ef0d7e9be463aea181d7a73387 /src/layout/MasterLayout.cpp | |
| parent | 54e51b7acf809b4cf705ae516f78a910c70e651f (diff) | |
Decos: Window decoration flags, shadow improvements (#3739)
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 8cc35ee6..0fbb2391 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -96,7 +96,7 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection direc if (g_pInputManager->m_bWasDraggingWindow && OPENINGON) { for (auto& wd : OPENINGON->pWindow->m_dWindowDecorations) { - if (!wd->allowsInput()) + if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT)) continue; if (wd->getWindowDecorationRegion().containsPoint(MOUSECOORDS)) { |
