GTK: Don't clamp cursorpos, allow negative values
Other apprts don't do this, so this should be consistent.pull/7444/head
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),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue