Fixed getting relative mouse position on Unix returning screen coordinates instead.

This commit is contained in:
binary1248 2015-04-07 11:01:41 +02:00 committed by Lukas Dürrenberger
parent 01f46ce231
commit bbe2c656e6

View File

@ -315,7 +315,7 @@ Vector2i InputImpl::getMousePosition(const Window& relativeTo)
connection, connection,
xcb_query_pointer( xcb_query_pointer(
connection, connection,
XCBDefaultRootWindow(connection) handle
), ),
&error &error
) )