mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 14:05:58 +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.scale = 1.F;
|
||||||
currentCursorImage.hotspot = {0, 0};
|
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)
|
if (!apply)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue