mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
core/output: don't send enter too aggresively
sometimes this might be like 1px and send enter to the wrong output fixes #8654
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user