Fixes #2326, clean up the X11 backend a bit

This commit is contained in:
Gabriel Jacobo 2014-02-21 08:37:57 -03:00
parent 22e3217e59
commit abe2ac2cb4
2 changed files with 2 additions and 6 deletions

View File

@ -28,7 +28,6 @@
#include <unistd.h> #include <unistd.h>
#include <limits.h> /* For INT_MAX */ #include <limits.h> /* For INT_MAX */
#include "SDL_x11video.h"
#include "SDL_x11video.h" #include "SDL_x11video.h"
#include "SDL_x11touch.h" #include "SDL_x11touch.h"
#include "SDL_x11xinput2.h" #include "SDL_x11xinput2.h"
@ -993,11 +992,6 @@ X11_Pending(Display * display)
return (0); return (0);
} }
/* !!! FIXME: this should be exposed in a header, or something. */
int SDL_GetNumTouch(void);
void SDL_dbus_screensaver_tickle(_THIS);
void void
X11_PumpEvents(_THIS) X11_PumpEvents(_THIS)
{ {

View File

@ -121,6 +121,8 @@ typedef struct SDL_VideoData
extern SDL_bool X11_UseDirectColorVisuals(void); extern SDL_bool X11_UseDirectColorVisuals(void);
void SDL_dbus_screensaver_tickle(_THIS);
#endif /* _SDL_x11video_h */ #endif /* _SDL_x11video_h */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */