summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/mplayer.c')
-rw-r--r--Gui/mplayer/mplayer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/Gui/mplayer/mplayer.c b/Gui/mplayer/mplayer.c
index a9f2e1bf95..0cecbc3b4f 100644
--- a/Gui/mplayer/mplayer.c
+++ b/Gui/mplayer/mplayer.c
@@ -97,7 +97,6 @@ void mplInit( int argc,char* argv[], char *envp[], void* disp )
appMPlayer.subWindow.ReDraw=mplSubDraw;
appMPlayer.subWindow.MouseHandler=mplSubMouseHandle;
appMPlayer.subWindow.KeyHandler=mplMainKeyHandle;
- appMPlayer.subWindow.ReSize=mplResize;
wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
wsClearWindow( appMPlayer.subWindow );
@@ -109,6 +108,12 @@ void mplInit( int argc,char* argv[], char *envp[], void* disp )
btnModify( evSetVolume,guiIntfStruct.Volume );
btnModify( evSetBalance,guiIntfStruct.Balance );
btnModify( evSetMoviePosition,guiIntfStruct.Position );
+
+ if ( fullscreen )
+ {
+ btnModify( evFullScreen,btnPressed );
+ mplFullScreen();
+ }
guiIntfStruct.Playing=0;