changeset 2979:6d341644ee28

smal; bugfix for main redraw
author pontscho
date Sun, 18 Nov 2001 19:19:57 +0000
parents 6be2873a5a91
children c4b6dc8bb554
files Gui/mplayer/play.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/play.c	Sun Nov 18 19:12:25 2001 +0000
+++ b/Gui/mplayer/play.c	Sun Nov 18 19:19:57 2001 +0000
@@ -36,6 +36,7 @@
 void mplFullScreen( void )
 {
  static int sx,sy;
+
  wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
  if ( appMPlayer.subWindow.isFullScreen )
   {
@@ -202,8 +203,8 @@
  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 );
+ wsWindowDecoration( &appMPlayer.mainWindow,appMPlayer.mainDecoration );
  mainVisible=1; mplMainRender=1; wsPostRedisplay( &appMPlayer.mainWindow );
- wsWindowDecoration( &appMPlayer.mainWindow,appMPlayer.mainDecoration );
  wsVisibleWindow( &appMPlayer.mainWindow,wsShowWindow );
    
  btnModify( evSetVolume,mplShMem->Volume );