changeset 5045:ccf1be6ccf5e

Fixed fullscreen mode
author nick
date Mon, 11 Mar 2002 09:01:43 +0000
parents 43dc579db3d1
children b3bd4b29a03b
files libvo/vo_xvidix.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Mon Mar 11 08:48:54 2002 +0000
+++ b/libvo/vo_xvidix.c	Mon Mar 11 09:01:43 2002 +0000
@@ -283,6 +283,8 @@
 	    d_width = vo_screenwidth;
 	    d_height = vo_screenheight;
     	}
+	window_width = vo_screenwidth;
+	window_height = vo_screenheight;
     }
 #endif
 
@@ -296,7 +298,7 @@
         window_depth = 24;
     XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
 
-    xswa.background_pixel = fgColor; //BlackPixel(mDisplay, mScreen);
+    xswa.background_pixel = vo_fs ? BlackPixel(mDisplay, mScreen) : fgColor;
     xswa.border_pixel     = 0;
     xswa.colormap         = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
 					    vinfo.visual, AllocNone);