Fixes #2326, clean up the X11 backend a bit
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c
index e99f91c..bf0b139 100644
--- a/src/video/x11/SDL_x11events.c
+++ b/src/video/x11/SDL_x11events.c
@@ -29,7 +29,6 @@
#include <limits.h> /* For INT_MAX */
#include "SDL_x11video.h"
-#include "SDL_x11video.h"
#include "SDL_x11touch.h"
#include "SDL_x11xinput2.h"
#include "../../events/SDL_events_c.h"
@@ -993,11 +992,6 @@ X11_Pending(Display * display)
return (0);
}
-
-/* !!! FIXME: this should be exposed in a header, or something. */
-int SDL_GetNumTouch(void);
-void SDL_dbus_screensaver_tickle(_THIS);
-
void
X11_PumpEvents(_THIS)
{
diff --git a/src/video/x11/SDL_x11video.h b/src/video/x11/SDL_x11video.h
index 68198be..927e38b 100644
--- a/src/video/x11/SDL_x11video.h
+++ b/src/video/x11/SDL_x11video.h
@@ -121,6 +121,8 @@ typedef struct SDL_VideoData
extern SDL_bool X11_UseDirectColorVisuals(void);
+void SDL_dbus_screensaver_tickle(_THIS);
+
#endif /* _SDL_x11video_h */
/* vi: set ts=4 sw=4 expandtab: */