[MPlayer-cvslog] r33697 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Wed Jun 22 13:19:24 CEST 2011
Author: ib
Date: Wed Jun 22 13:19:23 2011
New Revision: 33697
Log:
Enable fullscreen with inactive video window.
The combination show_videowin = "no" and load_fullscreen = "yes"
didn't work so far.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Tue Jun 21 22:29:55 2011 (r33696)
+++ trunk/gui/interface.c Wed Jun 22 13:19:23 2011 (r33697)
@@ -298,8 +298,6 @@ void guiInit(void)
wsSetIcon(wsDisplay, guiApp.mainWindow.WindowID, &guiIcon);
wsSetIcon(wsDisplay, guiApp.subWindow.WindowID, &guiIcon);
- guiInfo.Playing = 0;
-
if (!guiApp.mainDecoration)
wsWindowDecoration(&guiApp.mainWindow, 0);
@@ -356,13 +354,16 @@ void guiInit(void)
guiApp.subWindow.Mapped = wsMapped;
}
- wsVisibleWindow(&guiApp.subWindow, wsShowWindow);
- uiFullScreen();
+ guiInfo.Playing = 2; // set pause, because of !gtkShowVideoWindow...
+ uiFullScreen(); // ...guiInfo.Playing is required
+ wsVisibleWindow(&guiApp.subWindow, wsHideWindow);
btnModify(evFullScreen, btnPressed);
}
}
#endif
+ guiInfo.Playing = 0;
+
uiSubRender = 1;
if (filename)
More information about the MPlayer-cvslog
mailing list