CVS: main/libvo vo_xv.c,1.112,1.113
Update of /cvsroot/mplayer/main/libvo In directory mail:/var/tmp.root/cvs-serv26450 Modified Files: vo_xv.c Log Message: added forced window clearing for Xv, because on my setup (sawfish, nvidia) there occasionally left a blue strip above the movie when switching to fullscreen. patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> Index: vo_xv.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v retrieving revision 1.112 retrieving revision 1.113 diff -u -r1.112 -r1.113 --- vo_xv.c 9 Aug 2002 17:43:49 -0000 1.112 +++ vo_xv.c 21 Aug 2002 21:23:26 -0000 1.113 @@ -530,6 +530,12 @@ int e=vo_x11_check_events(mDisplay); if(e&VO_EVENT_RESIZE) { + if (vo_fs) { + e |= VO_EVENT_EXPOSE; + XClearWindow(mDisplay, vo_window); + XFlush(mDisplay); + } + XGetGeometry( mDisplay,vo_window,&mRoot,&drwX,&drwY,&vo_dwidth,&vo_dheight,&drwBorderWidth,&drwDepth ); drwX = drwY = 0; mp_msg(MSGT_VO,MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight );
participants (1)
-
Arpi of Ize