diff options
Diffstat (limited to 'games/fuhquake/files/patch-vid_glx.c')
-rw-r--r-- | games/fuhquake/files/patch-vid_glx.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games/fuhquake/files/patch-vid_glx.c b/games/fuhquake/files/patch-vid_glx.c new file mode 100644 index 00000000000..6c8185c62e4 --- /dev/null +++ b/games/fuhquake/files/patch-vid_glx.c @@ -0,0 +1,23 @@ +--- vid_glx.c.orig Wed May 21 17:18:37 2003 ++++ vid_glx.c Mon Jun 2 20:04:34 2003 +@@ -20,7 +20,9 @@ + #include <termios.h> + #include <sys/ioctl.h> + #include <sys/stat.h> ++#ifdef __linux__ + #include <sys/vt.h> ++#endif + #include <stdarg.h> + #include <stdio.h> + #include <signal.h> +@@ -601,8 +603,9 @@ + #ifdef WITH_VMODE + // fullscreen + if (vidmode_active) { +- mask = CWBackPixel | CWColormap | CWSaveUnder | CWBackingStore | CWEventMask; ++ mask = CWBackPixel | CWColormap | CWSaveUnder | CWBackingStore | CWEventMask | CWOverrideRedirect; + attr.backing_store = NotUseful; ++ attr.override_redirect = True; + attr.save_under = False; + } + #endif |