# HG changeset patch # User pontscho # Date 1006095925 0 # Node ID 4ecb26be6657168aa3c665dd4dbfd1cebaec7712 # Parent 291f45785de97faa38fe73252fb5a645995e386c fix blackbox xshape bug diff -r 291f45785de9 -r 4ecb26be6657 Gui/mplayer/mplayer.c --- a/Gui/mplayer/mplayer.c Sun Nov 18 14:09:56 2001 +0000 +++ b/Gui/mplayer/mplayer.c Sun Nov 18 15:05:25 2001 +0000 @@ -18,6 +18,7 @@ #include "../../config.h" #include "../../help_mp.h" #include "../../libvo/x11_common.h" +#include "../../libmpdemux/stream.h" #define mplMouseTimerConst 10 #define mplRedrawTimerConst 5 @@ -78,14 +79,15 @@ vo_setwindow(appMPlayer.subWindow.WindowID, appMPlayer.subWindow.wGC); vo_setwindowsize( appMPlayer.sub.width,appMPlayer.sub.height ); - i=wsHideFrame|wsMaxSize|wsShowWindow; - if ( appMPlayer.mainDecoration ) i=wsShowFrame|wsMaxSize|wsShowWindow; + i=wsHideFrame|wsMaxSize|wsHideWindow; + if ( appMPlayer.mainDecoration ) i=wsShowFrame|wsMaxSize|wsHideWindow; wsCreateWindow( &appMPlayer.mainWindow, appMPlayer.main.x,appMPlayer.main.y,appMPlayer.main.width,appMPlayer.main.height, wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,i,"MPlayer" ); //wsMinSize| wsSetShape( &appMPlayer.mainWindow,appMPlayer.main.Mask.Image ); - + wsVisibleWindow( &appMPlayer.mainWindow,wsShowWindow ); + mplMenuInit(); #ifdef DEBUG