GTK: Don't clamp cursorpos, allow negative values

Other apprts don't do this, so this should be consistent.
pull/7444/head
Qwerasd 2025-05-25 19:01:39 -06:00 committed by Mitchell Hashimoto
parent 1ce6544945
commit 58592d3f65
1 changed files with 1 additions and 1 deletions

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),
};