diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-01 16:42:02 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-01 16:42:02 +0000 |
commit | 300a1416e572db7a51902127a512b62fd08374ed (patch) | |
tree | 42cf0af2950d9f4737890c632a62448070fab775 /Gui/mplayer/mw.c | |
parent | d4408eac05ace7f78c0536e37184177a400bd952 (diff) | |
download | mpv-300a1416e572db7a51902127a512b62fd08374ed.tar.bz2 mpv-300a1416e572db7a51902127a512b62fd08374ed.tar.xz |
- rewrite Jan Spitalnik's patch
- fix some nice 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9203 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/mw.c')
-rw-r--r-- | Gui/mplayer/mw.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c index 108570507e..a23a5c41ad 100644 --- a/Gui/mplayer/mw.c +++ b/Gui/mplayer/mw.c @@ -277,6 +277,7 @@ set_volume: } break; case evDoubleSize: + btnSet( evFullScreen,btnReleased ); if ( guiIntfStruct.Playing ) { appMPlayer.subWindow.isFullScreen=True; @@ -288,6 +289,7 @@ set_volume: } break; case evNormalSize: + btnSet( evFullScreen,btnReleased ); if ( guiIntfStruct.Playing ) { appMPlayer.subWindow.isFullScreen=True; @@ -299,15 +301,10 @@ set_volume: break; } else if ( !appMPlayer.subWindow.isFullScreen ) break; case evFullScreen: - for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ ) - { - if ( appMPlayer.Items[j].msg == evFullScreen ) - { - appMPlayer.Items[j].tmp=!appMPlayer.Items[j].tmp; - appMPlayer.Items[j].pressed=appMPlayer.Items[j].tmp; - } - } + if ( !guiIntfStruct.Playing && !gtkShowVideoWindow ) break; mplFullScreen(); + if ( appMPlayer.subWindow.isFullScreen ) btnSet( evFullScreen,btnPressed ); + else btnSet( evFullScreen,btnReleased ); break; case evSetAspect: |