Since commit e1ca92e7f2ff there is a build error on Linux
src/video/x11/SDL_x11events.c: In function ?X11_PumpEvents?:
src/video/x11/SDL_x11events.c:596:13: error: ?EventTouchData? has no
member named ?down?
src/video/x11/SDL_x11events.c:597:13: error: ?EventTouchData? has no
member named ?down?
src/video/x11/SDL_x11events.c:599:15: error: ?EventTouchData? has no
member named ?down?
src/video/x11/SDL_x11events.c:608:13: error: ?EventTouchData? has no
member named ?down?
src/video/x11/SDL_x11events.c:610:12: error: ?EventTouchData? has no
member named ?down?
For the time being I solved it to add a member “down” to EventTouchData.
diff -r 9269bf952041 src/video/x11/SDL_x11touch.h
— a/src/video/x11/SDL_x11touch.h Sat Aug 06 02:15:23 2011 -0400
+++ b/src/video/x11/SDL_x11touch.h Sat Aug 06 20:36:35 2011 +0200
@@ -28,7 +28,7 @@
#ifdef SDL_INPUT_LINUXEV
typedef struct EventTouchData
{
- int x,y,pressure,finger; //Temporary Variables until sync
- int x,y,pressure,finger,down; //Temporary Variables until sync
int eventStream;
SDL_bool up;
} EventTouchData;