diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-26 08:34:17 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-26 08:34:17 +0000 |
commit | 01ab34d04af5aadb0be949a196d25142b6adb692 (patch) | |
tree | 3bb56e5df5339e3bd7321060d0ce67b9634d0fdd /Gui/mplayer/play.c | |
parent | 50de5173456b29e7411150e34ce63d96e74ec47e (diff) | |
download | mpv-01ab34d04af5aadb0be949a196d25142b6adb692.tar.bz2 mpv-01ab34d04af5aadb0be949a196d25142b6adb692.tar.xz |
From: Michael Joosten <joost@c-lab.de>
PATCH: fullscreen issues with GUI, WM layers, gmplayer plays first file always twice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10194 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r-- | Gui/mplayer/play.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index 147674bba0..4977dbe183 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -32,7 +32,7 @@ extern float rel_seek_secs; extern int abs_seek_pos; -static int mplGotoTheNext = 1; +int mplGotoTheNext = 1; void mplFullScreen( void ) { @@ -57,7 +57,7 @@ void mplFullScreen( void ) if ( guiIntfStruct.Playing || gtkShowVideoWindow ) wsFullScreen( &appMPlayer.subWindow ); fullscreen=vo_fs=appMPlayer.subWindow.isFullScreen; wsSetLayer( wsDisplay,appMPlayer.mainWindow.WindowID,appMPlayer.subWindow.isFullScreen ); - wsSetLayer( wsDisplay,appMPlayer.menuWindow.WindowID,appMPlayer.subWindow.isFullScreen ); + if ( appMPlayer.menuIsPresent ) wsSetLayer( wsDisplay,appMPlayer.menuWindow.WindowID,appMPlayer.subWindow.isFullScreen ); if ( guiIntfStruct.Playing ) wsSetBackgroundRGB( &appMPlayer.subWindow,0,0,0 ); else wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.sub.R,appMPlayer.sub.G,appMPlayer.sub.B ); |