From 73e78f05ad5cafa20ac5bf177c94ac9ecca37097 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 4 Nov 2023 13:10:52 +0000 Subject: Decos: Window decoration flags, shadow improvements (#3739) --- src/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Window.cpp') 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(); -- cgit v1.2.3