summaryrefslogtreecommitdiffstats
path: root/games/freedink/patch_upgrade_sdl2-2.0.10
diff options
context:
space:
mode:
author CRTS <crts [at] gmx [dot] net>2020-09-05 08:10:08 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:10:08 +0700
commitb9efae64d8b709d45f1b9967bbd8aa48c72d7152 (patch)
tree4aa907c9be736a08513614bf32cd7161f060212f /games/freedink/patch_upgrade_sdl2-2.0.10
parent84e8f4d2e2bfa31d6fb238bfbc4b201efdd4ea63 (diff)
downloadslackbuilds-b9efae64d8b709d45f1b9967bbd8aa48c72d7152.tar.gz
slackbuilds-b9efae64d8b709d45f1b9967bbd8aa48c72d7152.tar.xz
games/freedink: Patched for newer SDL2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--games/freedink/patch_upgrade_sdl2-2.0.1012
1 files changed, 12 insertions, 0 deletions
diff --git a/games/freedink/patch_upgrade_sdl2-2.0.10 b/games/freedink/patch_upgrade_sdl2-2.0.10
new file mode 100644
index 0000000000..71a9e7cc24
--- /dev/null
+++ b/games/freedink/patch_upgrade_sdl2-2.0.10
@@ -0,0 +1,12 @@
+--- src/input.cpp 2020-09-04 17:04:11.132661873 +0200
++++ ../b/src/input.cpp 2020-09-04 17:04:52.825140645 +0200
+@@ -91,7 +91,8 @@
+
+ // 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_MOUSE_TOUCH_EVENTS, "1");
++ SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1");
+
+ /* Touch devices */
+ {