mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Made glfwGetCursorPos query system directly.
Fixes #103. Fixes #153. Fixes #193. Fixes #355. Fixes #381.
This commit is contained in:
@@ -63,6 +63,11 @@ typedef struct _GLFWwindowNS
|
||||
id view;
|
||||
unsigned int modifierFlags;
|
||||
|
||||
// The total sum of the distances the cursor has been warped
|
||||
// since the last cursor motion event was processed
|
||||
// This is kept to counteract Cocoa doing the same internally
|
||||
double warpDeltaX, warpDeltaY;
|
||||
|
||||
} _GLFWwindowNS;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user