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,
|
||||
xcb_query_pointer(
|
||||
connection,
|
||||
XCBDefaultRootWindow(connection)
|
||||
handle
|
||||
),
|
||||
&error
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user