mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed the XInput2 X11 symbols.
This commit is contained in:
parent
5a02600647
commit
b4a00144fb
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user