# HG changeset patch # User nick # Date 1015837303 0 # Node ID ccf1be6ccf5e6b7745bc2aa7a1cb9d22c6164ded # Parent 43dc579db3d17178fd954d4064a1fd7f3045ddf9 Fixed fullscreen mode diff -r 43dc579db3d1 -r ccf1be6ccf5e libvo/vo_xvidix.c --- 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);