1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

X11: Fix inverted coordinate transform

This commit is contained in:
Camilla Löwy 2017-03-17 14:09:07 +01:00
parent 2376d3b16a
commit 62414bff6e

View File

@ -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);