src/video/x11/SDL_x11window.c
changeset 6316 a89c79a3f0cd
parent 6275 963497e37d34
child 6331 5732e1a80bde
--- a/src/video/x11/SDL_x11window.c	Wed May 30 15:21:13 2012 -0400
+++ b/src/video/x11/SDL_x11window.c	Thu May 31 13:37:02 2012 +0300
@@ -30,6 +30,7 @@
 #include "SDL_x11video.h"
 #include "SDL_x11mouse.h"
 #include "SDL_x11shape.h"
+#include "SDL_x11xinput2.h"
 
 #if SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2
 #include "SDL_x11opengles.h"
@@ -561,6 +562,8 @@
     }
 #endif
 
+    X11_Xinput2SelectTouch(_this, window);
+
     XSelectInput(display, w,
                  (FocusChangeMask | EnterWindowMask | LeaveWindowMask |
                  ExposureMask | ButtonPressMask | ButtonReleaseMask |