summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2023-11-04 13:10:52 +0000
committerGitHub <noreply@github.com>2023-11-04 13:10:52 +0000
commit73e78f05ad5cafa20ac5bf177c94ac9ecca37097 (patch)
tree20a61de56d8542ef0d7e9be463aea181d7a73387 /src/Window.cpp
parent54e51b7acf809b4cf705ae516f78a910c70e651f (diff)
Decos: Window decoration flags, shadow improvements (#3739)
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index 2f0809bf..f66a3139 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -146,7 +146,7 @@ wlr_box CWindow::getWindowInputBox() {
for (auto& wd : m_dWindowDecorations) {
- if (!wd->allowsInput())
+ if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT))
continue;
const auto EXTENTS = wd->getWindowDecorationExtents();