Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed the XInput2 X11 symbols.
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/video/x11/SDL_x11xinput2.c
|
@@ -179,7 +179,7 @@ X11_InitXinput2Multitouch(_THIS) |
|
|
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; |
|
|
XIDeviceInfo *info; |
|
|
int ndevices,i,j; |
|
|
info = XIQueryDevice(data->display, XIAllMasterDevices, &ndevices); |
|
|
info = X11_XIQueryDevice(data->display, XIAllMasterDevices, &ndevices); |
|
|
|
|
|
for (i = 0; i < ndevices; i++) { |
|
|
XIDeviceInfo *dev = &info[i]; |
|
@@ -198,7 +198,7 @@ X11_InitXinput2Multitouch(_THIS) |
|
|
} |
|
|
} |
|
|
} |
|
|
XIFreeDeviceInfo(info); |
|
|
X11_XIFreeDeviceInfo(info); |
|
|
#endif |
|
|
} |
|
|
|
|
|