mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-18 05:23:47 -07:00
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user