summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/sw.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/sw.h')
-rw-r--r--Gui/mplayer/sw.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Gui/mplayer/sw.h b/Gui/mplayer/sw.h
index 9eeabc9adf..3b62e3ec44 100644
--- a/Gui/mplayer/sw.h
+++ b/Gui/mplayer/sw.h
@@ -53,6 +53,20 @@ void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY )
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;