# HG changeset patch # User ib # Date 1308741563 0 # Node ID beec78d9146fe3f92a4e38ea2ebfe05ca568438e # Parent 3348a9e99214eb4d47d1fe99b7ce03fb7a8c43b8 Enable fullscreen with inactive video window. The combination show_videowin = "no" and load_fullscreen = "yes" didn't work so far. diff -r 3348a9e99214 -r beec78d9146f gui/interface.c --- a/gui/interface.c Tue Jun 21 20:29:55 2011 +0000 +++ b/gui/interface.c Wed Jun 22 11:19:23 2011 +0000 @@ -298,8 +298,6 @@ 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 @@ 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)