mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 03:34:44 -05:00
Fixed typo in function name.
This commit is contained in:
@@ -574,7 +574,7 @@ X11_PumpEvents(_THIS)
|
||||
X11_DispatchEvent(_this);
|
||||
}
|
||||
/*Dont process evtouch events if XInput2 multitouch is supported*/
|
||||
if(X11_Xinput2IsMutitouchSupported()) {
|
||||
if(X11_Xinput2IsMultitouchSupported()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ X11_InitTouch(_THIS)
|
||||
/*Initilized Xinput2 multitouch
|
||||
* and return in order to not initialize
|
||||
* evtouch also*/
|
||||
if(X11_Xinput2IsMutitouchSupported()) {
|
||||
if(X11_Xinput2IsMultitouchSupported()) {
|
||||
X11_InitXinput2Multitouch(_this);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ X11_Xinput2IsInitialized() {
|
||||
}
|
||||
|
||||
int
|
||||
X11_Xinput2IsMutitouchSupported() {
|
||||
X11_Xinput2IsMultitouchSupported() {
|
||||
#if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
|
||||
return xinput2_initialized && xinput2_multitouch_supported;
|
||||
#else
|
||||
|
||||
@@ -34,7 +34,7 @@ extern void X11_InitXinput2(_THIS);
|
||||
extern void X11_InitXinput2Multitouch(_THIS);
|
||||
extern int X11_HandleXinput2Event(SDL_VideoData *videodata,XGenericEventCookie *cookie);
|
||||
extern int X11_Xinput2IsInitialized(void);
|
||||
extern int X11_Xinput2IsMutitouchSupported(void);
|
||||
extern int X11_Xinput2IsMultitouchSupported(void);
|
||||
extern void X11_Xinput2SelectTouch(_THIS, SDL_Window *window);
|
||||
|
||||
#endif /* _SDL_x11xinput2_h */
|
||||
|
||||
Reference in New Issue
Block a user