diff src/video/uikit/SDL_uikitopengles.m @ 4488:6dc6a2bdd55e

Re-implemented single mouse touches on the iPhone/iPad
author Sam Lantinga <slouken@libsdl.org>
date Tue, 06 Jul 2010 22:08:19 -0700
parents 8b03a20b320f
children 06c7423f8c60
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitopengles.m	Tue Jul 06 10:58:23 2010 -0700
+++ b/src/video/uikit/SDL_uikitopengles.m	Tue Jul 06 22:08:19 2010 -0700
@@ -125,7 +125,10 @@
         UIKit_GL_DeleteContext(_this, view);
         return NULL;
     }
-		
+
+	/* Make this window the current mouse focus for touch input */
+	SDL_SetMouseFocus(window);
+
 	return view;
 }