1
0
mirror of https://github.com/Relintai/sdl2_frt.git synced 2024-12-20 22:16:49 +01:00

Fixed the XInput2 X11 symbols.

This commit is contained in:
Ryan C. Gordon 2013-10-18 10:56:45 -04:00
parent 5a02600647
commit b4a00144fb

View File

@ -179,7 +179,7 @@ X11_InitXinput2Multitouch(_THIS)
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
XIDeviceInfo *info; XIDeviceInfo *info;
int ndevices,i,j; int ndevices,i,j;
info = XIQueryDevice(data->display, XIAllMasterDevices, &ndevices); info = X11_XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
for (i = 0; i < ndevices; i++) { for (i = 0; i < ndevices; i++) {
XIDeviceInfo *dev = &info[i]; XIDeviceInfo *dev = &info[i];
@ -198,7 +198,7 @@ X11_InitXinput2Multitouch(_THIS)
} }
} }
} }
XIFreeDeviceInfo(info); X11_XIFreeDeviceInfo(info);
#endif #endif
} }