aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Window.cpp
diff options
context:
space:
mode:
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();