aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/layout/DwindleLayout.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-11-04 13:10:52 +0000
committerGitHub <[email protected]>2023-11-04 13:10:52 +0000
commit73e78f05ad5cafa20ac5bf177c94ac9ecca37097 (patch)
tree20a61de56d8542ef0d7e9be463aea181d7a73387 /src/layout/DwindleLayout.cpp
parent54e51b7acf809b4cf705ae516f78a910c70e651f (diff)
downloadHyprland-73e78f05ad5cafa20ac5bf177c94ac9ecca37097.tar.gz
Hyprland-73e78f05ad5cafa20ac5bf177c94ac9ecca37097.zip
Decos: Window decoration flags, shadow improvements (#3739)
Diffstat (limited to 'src/layout/DwindleLayout.cpp')
-rw-r--r--src/layout/DwindleLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp
index 30568375..45db3855 100644
--- a/src/layout/DwindleLayout.cpp
+++ b/src/layout/DwindleLayout.cpp
@@ -317,7 +317,7 @@ void CHyprDwindleLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection dire
if (!m_vOverrideFocalPoint && g_pInputManager->m_bWasDraggingWindow) {
for (auto& wd : OPENINGON->pWindow->m_dWindowDecorations) {
- if (!wd->allowsInput())
+ if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT))
continue;
if (wd->getWindowDecorationRegion().containsPoint(MOUSECOORDS)) {