mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-08-17 01:00:27 +03:00
parent
2ff95bba3f
commit
90f262aada
@ -574,7 +574,7 @@ CBox CPointerManager::getCursorBoxLogicalForMonitor(SP<CMonitor> pMonitor) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CBox CPointerManager::getCursorBoxGlobal() {
|
CBox CPointerManager::getCursorBoxGlobal() {
|
||||||
return CBox{pointerPos, currentCursorImage.size / currentCursorImage.scale}.translate(-currentCursorImage.hotspot / currentCursorImage.scale);
|
return CBox{pointerPos, currentCursorImage.size / currentCursorImage.scale}.translate(-currentCursorImage.hotspot);
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector2D CPointerManager::closestValid(const Vector2D& pos) {
|
Vector2D CPointerManager::closestValid(const Vector2D& pos) {
|
||||||
|
Loading…
Reference in New Issue
Block a user