From c7bdd842436b9e597ff4f3cdbf1ab3a51059956e Mon Sep 17 00:00:00 2001 From: pontscho Date: Sun, 18 Nov 2001 19:19:57 +0000 Subject: smal; bugfix for main redraw git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2980 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/play.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index ab7e4e2869..63982dd2c7 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -36,6 +36,7 @@ extern int abs_seek_pos; void mplFullScreen( void ) { static int sx,sy; + wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow ); if ( appMPlayer.subWindow.isFullScreen ) { @@ -202,8 +203,8 @@ void ChangeSkin( void ) wsMoveWindow( &appMPlayer.mainWindow,True,appMPlayer.main.x,appMPlayer.main.y ); wsResizeImage( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height ); wsSetShape( &appMPlayer.mainWindow,appMPlayer.main.Mask.Image ); - mainVisible=1; mplMainRender=1; wsPostRedisplay( &appMPlayer.mainWindow ); wsWindowDecoration( &appMPlayer.mainWindow,appMPlayer.mainDecoration ); + mainVisible=1; mplMainRender=1; wsPostRedisplay( &appMPlayer.mainWindow ); wsVisibleWindow( &appMPlayer.mainWindow,wsShowWindow ); btnModify( evSetVolume,mplShMem->Volume ); -- cgit v1.2.3