1
0
mirror of https://github.com/glfw/glfw.git synced 2025-04-23 17:12:50 +00: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);