1
Window / Issue with setting Mouse Position on Arch Linux
« on: September 17, 2023, 09:47:15 pm »
Hi there! ![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)
I have a problem, with setting the Mouse cursor position via
the Mouse.SetPosition function.
The function works under Windows, but not with Linux.
I've narrowed it down to some kind of error with setting the Mouse Position.
That means, all my events, etc. work just fine.
One thing I have observed, the Mouse Cursor actually moves to the given coordinate,
but then instantly gets moved back to it's original location.
( I've tested this, by moving the cursor to a coordinate, with a Button over it.
The Button briefly got the Selection color and the Cursor Icon changed. )
I don't know if this is the right forum to ask this.
If it's a problem with SFML Cursor in general under Linux or a problem on the Linux side.
I use C# DotNet 6, SFML 2.5.1 under Arch Linux (Plasma KDE, newest kernel)
Thanks in advance![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)
![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)
I have a problem, with setting the Mouse cursor position via
the Mouse.SetPosition function.
The function works under Windows, but not with Linux.
I've narrowed it down to some kind of error with setting the Mouse Position.
That means, all my events, etc. work just fine.
One thing I have observed, the Mouse Cursor actually moves to the given coordinate,
but then instantly gets moved back to it's original location.
( I've tested this, by moving the cursor to a coordinate, with a Button over it.
The Button briefly got the Selection color and the Cursor Icon changed. )
I don't know if this is the right forum to ask this.
If it's a problem with SFML Cursor in general under Linux or a problem on the Linux side.
I use C# DotNet 6, SFML 2.5.1 under Arch Linux (Plasma KDE, newest kernel)
Thanks in advance
![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)