Fixed the XInput2 X11 symbols.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 18 Oct 2013 10:56:45 -0400
changeset 7836b7c1c84c33e3
parent 7835 4be86f76e710
child 7837 2f2f0b3b4702
Fixed the XInput2 X11 symbols.
src/video/x11/SDL_x11xinput2.c
     1.1 --- a/src/video/x11/SDL_x11xinput2.c	Fri Oct 18 00:49:59 2013 -0700
     1.2 +++ b/src/video/x11/SDL_x11xinput2.c	Fri Oct 18 10:56:45 2013 -0400
     1.3 @@ -179,7 +179,7 @@
     1.4      SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
     1.5      XIDeviceInfo *info;
     1.6      int ndevices,i,j;
     1.7 -    info = XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
     1.8 +    info = X11_XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
     1.9  
    1.10      for (i = 0; i < ndevices; i++) {
    1.11          XIDeviceInfo *dev = &info[i];
    1.12 @@ -198,7 +198,7 @@
    1.13              }
    1.14          }
    1.15      }
    1.16 -    XIFreeDeviceInfo(info);
    1.17 +    X11_XIFreeDeviceInfo(info);
    1.18  #endif
    1.19  }
    1.20