src/video/x11/SDL_x11window.c
changeset 6316 a89c79a3f0cd
parent 6275 963497e37d34
child 6331 5732e1a80bde
     1.1 --- a/src/video/x11/SDL_x11window.c	Wed May 30 15:21:13 2012 -0400
     1.2 +++ b/src/video/x11/SDL_x11window.c	Thu May 31 13:37:02 2012 +0300
     1.3 @@ -30,6 +30,7 @@
     1.4  #include "SDL_x11video.h"
     1.5  #include "SDL_x11mouse.h"
     1.6  #include "SDL_x11shape.h"
     1.7 +#include "SDL_x11xinput2.h"
     1.8  
     1.9  #if SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2
    1.10  #include "SDL_x11opengles.h"
    1.11 @@ -561,6 +562,8 @@
    1.12      }
    1.13  #endif
    1.14  
    1.15 +    X11_Xinput2SelectTouch(_this, window);
    1.16 +
    1.17      XSelectInput(display, w,
    1.18                   (FocusChangeMask | EnterWindowMask | LeaveWindowMask |
    1.19                   ExposureMask | ButtonPressMask | ButtonReleaseMask |