Fixed getting relative mouse position on Unix returning screen coordinates instead.
This commit is contained in:
parent
01f46ce231
commit
bbe2c656e6
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user