diff options
-rw-r--r-- | libvo/x11_common.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index bcdf14b307..0379797f81 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1,15 +1,17 @@ + #include <stdio.h> #include <stdlib.h> -#include <string.h> +#include "config.h" + +#ifdef X11_FULLSCREEN + +#include <string.h> #include <unistd.h> #include <sys/mman.h> -#include "config.h" #include "video_out.h" -#ifdef X11_FULLSCREEN - #include <X11/Xmd.h> #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -169,8 +171,6 @@ int vo_x11_check_events(Display *mydisplay){ return ret; } -#endif - void saver_on(Display *mDisplay) { int nothing; @@ -215,3 +215,5 @@ void saver_off(Display *mDisplay) { XSetScreenSaver(mDisplay, 0, interval, prefer_blank, allow_exp); // turning off screensaver } + +#endif |