3
« on: October 25, 2023, 12:53:12 am »
Hi there. I'm new on Linux, but have some pleasant experiences with SFML. I have some problems with mouse commands:
- setMouseCursorVisible works
- setMouseCursorGrabbed works
BUT if they used together, sometimes window margins are wrong for grabbing (little shift down and right), or grubbing happens only after first click in window and cursor invisible at window tilebar too
- sf::Mouse::setPosition does nothing AND frees mouse from previous two states. Looping "setMouseCursorGrabbed" changes nothing, looping "setMouseCursorVisible" creates flickering
It's pure Debian, GNOME, SFML installed via apt. What is wrong and what can I do? Maybe I can do some tests or give you more info?