summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/play.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-20 13:56:16 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-20 13:56:16 +0000
commit4c6ce6a195af2807903f1ff0e0ee413ff6fd6081 (patch)
tree924db92b9fd062cfc64b5e82a3dfcad477b687bc /Gui/mplayer/play.c
parentc7b919a1b9ed2ae2137cf12b996d6f0c0ff88ba4 (diff)
downloadmpv-4c6ce6a195af2807903f1ff0e0ee413ff6fd6081.tar.bz2
mpv-4c6ce6a195af2807903f1ff0e0ee413ff6fd6081.tar.xz
fix some gtk bug...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6147 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r--Gui/mplayer/play.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index 9978328f3e..be8c2205ad 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -209,7 +209,8 @@ void ChangeSkin( char * name )
if ( mplDrawBuffer ) free( mplDrawBuffer );
if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL )
{ mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_NEMDB ); return; }
- wsVisibleWindow( &appMPlayer.mainWindow,wsHideWindow );
+
+ if ( wsWMType == wsWMUnknown ) wsVisibleWindow( &appMPlayer.mainWindow,wsHideWindow );
wsResizeWindow( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height );
wsMoveWindow( &appMPlayer.mainWindow,True,appMPlayer.main.x,appMPlayer.main.y );
wsResizeImage( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height );