mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-14 19:45:45 -07:00
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user