Lagrange [work/v1.8]

iOS: Tell SDL not to bother with mouse events

=> b8471251e785c0c41fdb396c1c55a5fe76363dc2

diff --git a/src/main.c b/src/main.c
index 146f13f2..e735f713 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,6 +70,9 @@ int main(int argc, char **argv) {
     SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
 #if 0
     SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1"); /* debugging! */
+#endif
+#if defined (iPlatformAppleMobile)
+    SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");
 #endif
     if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) {
         fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError());
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/cdiff/b8471251e785c0c41fdb396c1c55a5fe76363dc2
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
28.663163 milliseconds
Gemini-to-HTML Time
0.19358 milliseconds

This content has been proxied by September (3851b).