diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-26 10:47:51 +0000 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-26 10:47:51 +0000 |
commit | 6eca1b485dba7355d827745284ed2f0072f9e370 (patch) | |
tree | 6298e90b5ec5802ac26c9a8b674c7cbd59d0c048 /src/playerrelations.cpp | |
parent | 5dd1950adfef870b26670cbee938513433953d19 (diff) | |
download | mana-6eca1b485dba7355d827745284ed2f0072f9e370.tar.gz mana-6eca1b485dba7355d827745284ed2f0072f9e370.tar.bz2 mana-6eca1b485dba7355d827745284ed2f0072f9e370.tar.xz mana-6eca1b485dba7355d827745284ed2f0072f9e370.zip |
Use SDL2 support for color and system mouse cursors
This way the cursor is not limited by the framerate nor affected by
input lag. Also, when custom cursor is disabled, a few different system
cursors are now used instead.
It also avoids an issue on Wayland, where hiding the cursor (as done to
render our own one) would cause the cursor to get locked within the
window.
On macOS it fixes two cursors being visible when hovering the window
while it is in the background.
The cursor can unfortunately no longer gently fade away.
Diffstat (limited to 'src/playerrelations.cpp')
0 files changed, 0 insertions, 0 deletions