From bb5c3f27023e0702642b72d1869427b9b0ff72e0 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 10 Dec 2024 01:40:31 +0000 Subject: [PATCH] core/output: don't send enter too aggresively sometimes this might be like 1px and send enter to the wrong output fixes #8654 --- src/protocols/core/Output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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);