1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -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;
XTranslateCoordinates(_glfw.x11.display,
window->x11.handle,
_glfw.x11.root,
window->x11.handle,
xabs, yabs,
&xpos, &ypos,
&dummy);