mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 13:49:49 +01: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:
parent
0a27af8cd1
commit
bb5c3f2702
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ CWLOutputResource::CWLOutputResource(SP<CWlOutput> resource_, PHLMONITOR pMonito
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||||
if (!m->logicalBox().overlaps(*GEOMETRY))
|
if (!m->logicalBox().expand(-4).overlaps(*GEOMETRY))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
surf->enter(m);
|
surf->enter(m);
|
||||||
|
|
Loading…
Reference in a new issue