mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Merge branch 'macos_mouse_cursor_off_by_one' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
9f7f353485
@ -660,7 +660,7 @@ static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL;
|
||||
// NOTE: The returned location uses base 0,1 not 0,0
|
||||
const NSPoint pos = [event locationInWindow];
|
||||
|
||||
_glfwInputCursorPos(window, pos.x, contentRect.size.height - pos.y - 1);
|
||||
_glfwInputCursorPos(window, pos.x, contentRect.size.height - pos.y);
|
||||
}
|
||||
|
||||
window->ns.cursorWarpDeltaX = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user