src/video/x11/SDL_x11xinput2.c
changeset 7678 286c42d7c5ed
parent 7677 871d43c6968a
child 7679 b1fe132bc6a4
     1.1 --- a/src/video/x11/SDL_x11xinput2.c	Wed Aug 21 09:43:09 2013 -0300
     1.2 +++ b/src/video/x11/SDL_x11xinput2.c	Wed Aug 21 09:47:10 2013 -0300
     1.3 @@ -95,20 +95,20 @@
     1.4          return;
     1.5      }
     1.6  
     1.7 -    /*Check supported version */
     1.8 +    /* Check supported version */
     1.9      if(outmajor * 1000 + outminor < major * 1000 + minor) {
    1.10 -        /*X server does not support the version we want */
    1.11 +        /* X server does not support the version we want */
    1.12          return;
    1.13      }
    1.14      xinput2_initialized = 1;
    1.15  #if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
    1.16 -    /*XInput 2.2 */
    1.17 +    /* XInput 2.2 */
    1.18      if(outmajor * 1000 + outminor >= major * 1000 + minor) {
    1.19          xinput2_multitouch_supported = 1;
    1.20      }
    1.21  #endif
    1.22  
    1.23 -    /*Enable  Raw motion events for this display */
    1.24 +    /* Enable  Raw motion events for this display */
    1.25      eventmask.deviceid = XIAllMasterDevices;
    1.26      eventmask.mask_len = sizeof(mask);
    1.27      eventmask.mask = mask;
    1.28 @@ -188,7 +188,7 @@
    1.29              XIAnyClassInfo *class = dev->classes[j];
    1.30              XITouchClassInfo *t = (XITouchClassInfo*)class;
    1.31  
    1.32 -            /*Only touch devices */
    1.33 +            /* Only touch devices */
    1.34              if (class->type != XITouchClass)
    1.35                  continue;
    1.36