From 62414bff6e2fc76c775cac8086e9330f8e6f22d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Fri, 17 Mar 2017 14:09:07 +0100 Subject: [PATCH] X11: Fix inverted coordinate transform --- src/x11_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11_window.c b/src/x11_window.c index 327bd750..907fa794 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -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);