diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 3 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c index d3a10457a8..1e17854dba 100644 --- a/options/options.c +++ b/options/options.c @@ -509,7 +509,7 @@ const m_option_t mp_opts[] = { OPT_INT64("wid", vo.WinID, CONF_GLOBAL), #if HAVE_X11 - OPT_STRINGLIST("x11-fstype", vo.fstype_list, 0), + OPT_FLAG("x11-netwm", vo.x11_netwm, 0), #endif OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0), OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0), @@ -663,6 +663,7 @@ const struct MPOpts mp_default_opts = { .keepaspect = 1, .border = 1, .WinID = -1, + .x11_netwm = 1, }, .wintitle = "mpv - ${media-title}", .heartbeat_interval = 30.0, diff --git a/options/options.h b/options/options.h index c9d0d82cf7..e7008846de 100644 --- a/options/options.h +++ b/options/options.h @@ -13,7 +13,7 @@ typedef struct mp_vo_opts { int screen_id; int fsscreen_id; char *winname; - char** fstype_list; + int x11_netwm; int native_keyrepeat; float panscan; |