Mercurial > mplayer.hg
changeset 416:dd528a763c6f
X11_FULLSCREEN fix
author | arpi_esp |
---|---|
date | Sat, 14 Apr 2001 21:12:41 +0000 |
parents | 5332ac41f502 |
children | 1afdd7a8eaf9 |
files | libvo/x11_common.c |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Sat Apr 14 21:09:25 2001 +0000 +++ b/libvo/x11_common.c Sat Apr 14 21:12:41 2001 +0000 @@ -1,15 +1,17 @@ + #include <stdio.h> #include <stdlib.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 @@ return ret; } -#endif - void saver_on(Display *mDisplay) { int nothing; @@ -215,3 +215,5 @@ XSetScreenSaver(mDisplay, 0, interval, prefer_blank, allow_exp); // turning off screensaver } + +#endif