X11: search all XI2 touch devices, not just masters (thanks, Volumetic!).
Otherwise, you won't find touch devices that aren't currently assigned to a system cursor.
parent
554b2b0e36
commit
05e78b3f49
|
@ -183,7 +183,7 @@ X11_InitXinput2Multitouch(_THIS)
|
|||
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
|
||||
XIDeviceInfo *info;
|
||||
int ndevices,i,j;
|
||||
info = X11_XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
|
||||
info = X11_XIQueryDevice(data->display, XIAllDevices, &ndevices);
|
||||
|
||||
for (i = 0; i < ndevices; i++) {
|
||||
XIDeviceInfo *dev = &info[i];
|
||||
|
|
Loading…
Reference in New Issue