diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c index bc016dfd14..1639719dfe 100644 --- a/options/options.c +++ b/options/options.c @@ -431,7 +431,8 @@ const m_option_t mp_opts[] = { OPT_INT64("wid", vo.WinID, CONF_GLOBAL), #if HAVE_X11 - OPT_FLAG("x11-netwm", vo.x11_netwm, 0), + OPT_CHOICE("x11-netwm", vo.x11_netwm, 0, + ({"auto", 0}, {"no", -1}, {"yes", 1})), #endif OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0), OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0), @@ -573,7 +574,6 @@ const struct MPOpts mp_default_opts = { .keepaspect = 1, .border = 1, .WinID = -1, - .x11_netwm = 1, }, .allow_win_drag = 1, .wintitle = "mpv - ${media-title}", |