GTK: Don't clamp cursorpos, allow negative values

Other apprts don't do this, so this should be consistent.
This commit is contained in:
Qwerasd
2025-05-25 19:01:39 -06:00
committed by Mitchell Hashimoto
parent 1ce6544945
commit 58592d3f65

View File

@@ -1563,7 +1563,7 @@ fn gtkMouseMotion(
const scaled = self.scaledCoordinates(x, y);
const pos: apprt.CursorPos = .{
.x = @floatCast(@max(0, scaled.x)),
.x = @floatCast(scaled.x),
.y = @floatCast(scaled.y),
};