diff --git a/src/SFML/Window/Unix/InputImpl.cpp b/src/SFML/Window/Unix/InputImpl.cpp index 8817165e..4d815f84 100644 --- a/src/SFML/Window/Unix/InputImpl.cpp +++ b/src/SFML/Window/Unix/InputImpl.cpp @@ -315,7 +315,7 @@ Vector2i InputImpl::getMousePosition(const Window& relativeTo) connection, xcb_query_pointer( connection, - XCBDefaultRootWindow(connection) + handle ), &error )