[MPlayer-cvslog] r38171 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Tue Feb 4 15:54:40 EET 2020


Author: ib
Date: Tue Feb  4 15:54:39 2020
New Revision: 38171

Log:
Fix fullscreen button.

When starting in fullscreen mode without video window, it must not be
allowed to change the fullscreen button, because otherwise the button
(no fullscreen anymore) and the mode (still fullscreen) do not match.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Sun Feb  2 10:17:35 2020	(r38170)
+++ trunk/gui/interface.c	Tue Feb  4 15:54:39 2020	(r38171)
@@ -344,8 +344,10 @@ void guiInit(void)
     } else
         wsWindowBackground(&guiApp.videoWindow, 0, 0, 0);
 
-    if (gtkLoadFullscreen)
+    if (gtkLoadFullscreen) {
+        guiApp.videoWindow.isFullScreen = True;
         btnSet(evFullScreen, btnPressed);
+    }
 
     guiInfo.Playing = GUI_STOP;
 


More information about the MPlayer-cvslog mailing list