Fixes #2326, clean up the X11 backend a bit
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 21 Feb 2014 08:37:57 -0300
changeset 8229 437c4e5961e0
parent 8228 010ae1267485
child 8230 1c185bacf915
Fixes #2326, clean up the X11 backend a bit
src/video/x11/SDL_x11events.c
src/video/x11/SDL_x11video.h
--- a/src/video/x11/SDL_x11events.c	Thu Feb 20 21:07:56 2014 -0800
+++ b/src/video/x11/SDL_x11events.c	Fri Feb 21 08:37:57 2014 -0300
@@ -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 @@
     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)
 {
--- a/src/video/x11/SDL_x11video.h	Thu Feb 20 21:07:56 2014 -0800
+++ b/src/video/x11/SDL_x11video.h	Fri Feb 21 08:37:57 2014 -0300
@@ -121,6 +121,8 @@
 
 extern SDL_bool X11_UseDirectColorVisuals(void);
 
+void SDL_dbus_screensaver_tickle(_THIS);
+
 #endif /* _SDL_x11video_h */
 
 /* vi: set ts=4 sw=4 expandtab: */