mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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