[MPlayer-dev-eng] [PATCH] -rootwin, vo_rootwin x11 code patch

Joey Parrish joey at nicewarrior.org
Wed Aug 4 03:36:39 CEST 2004


On Tue, Aug 03, 2004 at 08:01:05AM -0400, Nicolas Plourde wrote:
> added -rootwin option for all configuration in cfg-mplayer.h
> x11_common.c in vo_init now set WinID to zero if vo_rootwin = 1
> 
> I cant test this on my setup since i dont have a x11 so if someone
> can test it and modified this patch if something is broken.

One bug I noticed:

--- Gui/interface.c     30 Jul 2004 15:58:36 -0000      1.96
+++ Gui/interface.c     3 Aug 2004 11:59:11 -0000
@@ -214,6 +214,9 @@
   appMPlayer.sub.y = gui_sub_pos_y;
  }

+  if(vo_rootwin)
+       WinID == 0;
+
   if (WinID>0)
    {
     appMPlayer.subWindow.Parent=WinID;


That should probably not be a double-equals.
Removing that one char should not break the patch, though.

--Joey

-- 
"The tide is turning... the enemy is suffering terrible losses..."
  --Gen. Custer




More information about the MPlayer-dev-eng mailing list