Browse Source

Fixes #2326, clean up the X11 backend a bit

Gabriel Jacobo 11 years ago
parent
commit
abe2ac2cb4
2 changed files with 2 additions and 6 deletions
  1. 0 6
      src/video/x11/SDL_x11events.c
  2. 2 0
      src/video/x11/SDL_x11video.h

+ 0 - 6
src/video/x11/SDL_x11events.c

@@ -28,7 +28,6 @@
 #include <unistd.h>
 #include <limits.h> /* For INT_MAX */
 
-#include "SDL_x11video.h"
 #include "SDL_x11video.h"
 #include "SDL_x11touch.h"
 #include "SDL_x11xinput2.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)
 {

+ 2 - 0
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: */