You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.7 Reported for operating system, platform: Linux, All
Comments on the original bug report:
On 2017-11-17 23:08:44 +0000, Manuel Alfayate Corchete wrote:
Hi,
I noticed the mouse cursor is sticky on the borders on current ScummVM GIT versions (due for major release soon, so it should be fixed).
The cause is well known to me:
WarpMouse will position the mouse on the border, BUT it won't update the coordinates internally.
The function that does that internal update is SDL_SendMouseMotion.
Both Raspberry Pi and KMSDRM backends are missing an importan SDL_SendMouseMotion() call at the end of their WarpMouse implementations.
I was going to do a fast fix for this, but I can't because the SDL_SendMouseMotion() calls I do always end up segfaulting and I can't find the cause...
I have tried adding:
SDL_SendMouseMotion(win, mouse->mouseID, 0, x, y);
at the end of RPI_WarpMouse(), after I call SDL_GetMouse() to retrieve de mouse, with no success (segfault). Also tried other points in the code, with the same fate.
Any help is welcome.
On 2017-11-17 23:24:35 +0000, Manuel Alfayate Corchete wrote:
Created attachment 3089
Testcase for the "sticky borders" problem on the Raspberry Pi
I have added this small testcase where you can see how the internal coordinates are NOT being updated on the SDL_WarpMouseInWindow() if your run it on a Raspberry Pi, but it they are updated on X11, Mac, etc... so you can see a call to SDL_SendMouseMotion() on RPI_WarpMouse() is needed.
On 2017-11-20 11:51:33 +0000, Manuel Alfayate Corchete wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.7
Reported for operating system, platform: Linux, All
Comments on the original bug report:
On 2017-11-17 23:08:44 +0000, Manuel Alfayate Corchete wrote:
On 2017-11-17 23:24:35 +0000, Manuel Alfayate Corchete wrote:
On 2017-11-20 11:51:33 +0000, Manuel Alfayate Corchete wrote:
On 2017-12-08 12:40:49 +0000, Manuel Alfayate Corchete wrote:
The text was updated successfully, but these errors were encountered: