Mercurial > mplayer.hg
changeset 2970:4ecb26be6657
fix blackbox xshape bug
author | pontscho |
---|---|
date | Sun, 18 Nov 2001 15:05:25 +0000 |
parents | 291f45785de9 |
children | 56faed773768 |
files | Gui/mplayer/mplayer.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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