Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ilovemac

Pages: [1]
1
Window / Issue with setting Mouse Position on Arch Linux
« on: September 17, 2023, 09:47:15 pm »
Hi there! ;)


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 ;)



Pages: [1]