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

window: add is_decorated config flag

parent 6ef463a4
......@@ -100,6 +100,7 @@ typedef struct vout_window_cfg_t {
/* If true, a standalone window is requested */
bool is_standalone;
bool is_fullscreen;
bool is_decorated;
#ifdef __APPLE__
/* Window position hint */
......
......@@ -1259,6 +1259,7 @@ vout_display_t *vout_NewSplitter(vout_thread_t *vout,
.width = state->cfg.display.width,
.height = state->cfg.display.height,
.is_standalone = true,
.is_decorated = true,
};
memset(&ostate, 0, sizeof(ostate));
......
......@@ -167,6 +167,7 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
vout_window_cfg_t wcfg = {
.is_standalone = !var_InheritBool(vout, "embedded-video"),
.is_fullscreen = var_GetBool(vout, "fullscreen"),
.is_decorated = var_InheritBool(vout, "video-deco"),
// TODO: take pixel A/R, crop and zoom into account
#ifdef __APPLE__
.x = var_InheritInteger(vout, "video-x"),
......
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