File freedink-android-sdl-hint.patch of Package freedink

Index: freedink-109.4/src/input.cpp
===================================================================
--- freedink-109.4.orig/src/input.cpp
+++ freedink-109.4/src/input.cpp
@@ -91,7 +91,10 @@ void input_init(void)
 
   // TODO: don't attempt to simulate mouse events from touch events -
   // fake mouse events often are de-centered
-  SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
+  // SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
+  // FIXME: Since SDL 2.0.10 should be used different hits:
+  SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1");
+  SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1");
 
   /* Touch devices */
   {
openSUSE Build Service is sponsored by