mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 19:09:48 +01:00
parent
b0861b6709
commit
1753059b07
1 changed files with 7 additions and 0 deletions
|
@ -297,6 +297,13 @@ void CPointerManager::resetCursorImage(bool apply) {
|
|||
currentCursorImage.scale = 1.F;
|
||||
currentCursorImage.hotspot = {0, 0};
|
||||
|
||||
for (auto& s : monitorStates) {
|
||||
if (s->monitor.expired() || s->monitor->isMirror() || !s->monitor->m_bEnabled)
|
||||
continue;
|
||||
|
||||
s->entered = false;
|
||||
}
|
||||
|
||||
if (!apply)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue