From abe2ac2cb48de2b79034c13ff29706cf15e25edd Mon Sep 17 00:00:00 2001 From: Gabriel Jacobo Date: Fri, 21 Feb 2014 08:37:57 -0300 Subject: [PATCH] Fixes #2326, clean up the X11 backend a bit --- src/video/x11/SDL_x11events.c | 6 ------ src/video/x11/SDL_x11video.h | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c index e99f91c55..bf0b1391f 100644 --- a/src/video/x11/SDL_x11events.c +++ b/src/video/x11/SDL_x11events.c @@ -28,7 +28,6 @@ #include #include /* 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) { diff --git a/src/video/x11/SDL_x11video.h b/src/video/x11/SDL_x11video.h index 68198becc..927e38b31 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: */