mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
X11: Fix inverted coordinate transform
This commit is contained in:
parent
2376d3b16a
commit
62414bff6e
@ -1400,8 +1400,8 @@ static void processEvent(XEvent *event)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
XTranslateCoordinates(_glfw.x11.display,
|
XTranslateCoordinates(_glfw.x11.display,
|
||||||
window->x11.handle,
|
|
||||||
_glfw.x11.root,
|
_glfw.x11.root,
|
||||||
|
window->x11.handle,
|
||||||
xabs, yabs,
|
xabs, yabs,
|
||||||
&xpos, &ypos,
|
&xpos, &ypos,
|
||||||
&dummy);
|
&dummy);
|
||||||
|
Loading…
Reference in New Issue
Block a user