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: HG 2.0 Reported for operating system, platform: Android (All), Other
Comments on the original bug report:
On 2014-06-27 15:39:40 +0000, Alvin wrote:
Created attachment 1714
Passes Android_Window to the mouse-related functions rather than NULL.
Touch (mouse) events on Android result in a segfault.
From what I can determine, the bug was introduced in be64f5daf64b (Implemented SDL_Capture()). In src/events/SDL_mouse.c, in SDL_PrivateSendMouseMotion(), at line 251, the 'window' pointer is accessed. On Android, the 'window' argument is NULL. (see Android_OnTouch() e.g. line 89 - call to SDL_SendMouseMotion).
Attached is a patch for Android_OnTouch() that passing the 'Android_Window' global variable.
Tested on Android 4.0.4.
On 2014-06-28 15:50:52 +0000, Gabriel Jacobo wrote:
Fixed, thanks!
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: Android (All), Other
Comments on the original bug report:
On 2014-06-27 15:39:40 +0000, Alvin wrote:
On 2014-06-28 15:50:52 +0000, Gabriel Jacobo wrote:
The text was updated successfully, but these errors were encountered: