changeset 1854:8eb2be385fd6

fixx fullscreen kattingatas.
author pontscho
date Tue, 04 Sep 2001 16:05:25 +0000
parents f380ebc3ba89
children ac02aa845e01
files Gui/mplayer/sw.h
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/sw.h	Tue Sep 04 16:04:04 2001 +0000
+++ b/Gui/mplayer/sw.h	Tue Sep 04 16:05:25 2001 +0000
@@ -6,10 +6,7 @@
 
 void mplSubDraw( wsParamDisplay )
 {
- if ( appMPlayer.subWindow.State == wsFocused ||
-      appMPlayer.subWindow.State ==
- 
- ) SubVisible=0;
+ if ( appMPlayer.subWindow.State == wsWindowFocusIn ) SubVisible=0;
  
  if ( !appMPlayer.subWindow.Mapped ||
       appMPlayer.subWindow.Visible == wsWindowNotVisible ) return;
@@ -72,7 +69,7 @@
            }
           break;
    case wsRLMouseButton:
-          if ( ( !mplSubMoved )&&( !( SubVisible++%2 ) ) ) wsMoveTopWindow( &appMPlayer.mainWindow );
+          if ( ( !mplSubMoved )&&( ( SubVisible++%2 ) ) ) wsMoveTopWindow( &appMPlayer.mainWindow );
           msButton=0;
           mplSubMoved=0;
           break;