Commit abe2ac2cb48de2b79034c13ff29706cf15e25edd

Gabriel Jacobo 2014-02-21T08:37:57

Fixes #2326, clean up the X11 backend a bit

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: */