aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/protocols/core/Output.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/core/Output.cpp b/src/protocols/core/Output.cpp
index edeeb584..db580457 100644
--- a/src/protocols/core/Output.cpp
+++ b/src/protocols/core/Output.cpp
@@ -42,7 +42,7 @@ CWLOutputResource::CWLOutputResource(SP<CWlOutput> resource_, PHLMONITOR pMonito
return;
for (auto& m : g_pCompositor->m_vMonitors) {
- if (!m->logicalBox().overlaps(*GEOMETRY))
+ if (!m->logicalBox().expand(-4).overlaps(*GEOMETRY))
continue;
surf->enter(m);