Commit 80099418 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout: set fullscreen mode window straight away

parent 462500e5
...@@ -177,6 +177,8 @@ static vout_thread_t *VoutCreate(vlc_object_t *object, ...@@ -177,6 +177,8 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
vout_window_t *window = vout_display_window_New(vout, &wcfg); vout_window_t *window = vout_display_window_New(vout, &wcfg);
if (window != NULL) if (window != NULL)
{ {
if (var_InheritBool(vout, "fullscreen"))
vout_window_SetFullScreen(window, true);
if (var_InheritBool(vout, "video-wallpaper")) if (var_InheritBool(vout, "video-wallpaper"))
vout_window_SetState(window, VOUT_WINDOW_STATE_BELOW); vout_window_SetState(window, VOUT_WINDOW_STATE_BELOW);
else if (var_InheritBool(vout, "video-on-top")) else if (var_InheritBool(vout, "video-on-top"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment