changeset 3477:9e7289fdc471

ize ... majd gabu ide irja. ilyen fullscreenben mouse button press - re jon elo main window.
author pontscho
date Wed, 12 Dec 2001 23:15:15 +0000
parents d8e46c2576c5
children e518999fa7e7
files Gui/mplayer/sw.h
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/sw.h	Wed Dec 12 22:42:38 2001 +0000
+++ b/Gui/mplayer/sw.h	Wed Dec 12 23:15:15 2001 +0000
@@ -53,6 +53,20 @@
           break;
 // ---
    case wsPLMouseButton:
+          if ( appMPlayer.subWindow.isFullScreen )
+	   {
+//            if( SubVisible++%2 )
+//             {
+              wsMoveTopWindow( &appMPlayer.mainWindow );
+              fprintf( stderr,"[sw] MAIN TOP\n" );
+//             }
+//             else
+//              {
+//               wsMoveTopWindow( &appMPlayer.subWindow );
+//               fprintf( stderr,"[sw] SUB TOP\n" );
+//              }
+	    break;
+	   }
 	  if ( gtkShMem->visiblepopupmenu ) gtkSendMessage( evHidePopUpMenu );
           sx=X; sy=Y;
           msButton=wsPLMouseButton;