mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
committed by
Camilla Berglund
parent
9021e52a6f
commit
e253beaa2b
@@ -86,6 +86,11 @@ static void pointerHandleMotion(void* data,
|
||||
"Wayland: GLFW_CURSOR_DISABLED not supported");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
window->wl.cursorPosX = wl_fixed_to_double(sx);
|
||||
window->wl.cursorPosY = wl_fixed_to_double(sy);
|
||||
}
|
||||
|
||||
_glfwInputCursorMotion(window,
|
||||
wl_fixed_to_double(sx),
|
||||
|
||||
Reference in New Issue
Block a user