mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-01 11:12:16 +00:00
GTK: Don't clamp cursorpos, allow negative values
Other apprts don't do this, so this should be consistent.
This commit is contained in:
committed by
Mitchell Hashimoto
parent
1ce6544945
commit
58592d3f65
@@ -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),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user