diff options
author | wm4 <wm4@nowhere> | 2014-05-16 00:47:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-16 00:47:13 +0200 |
commit | ebd5bbd241f2b88b99a84fb899d3802e7c9b989d (patch) | |
tree | d91103a26d891d89c934b4d436863e7d4c5f10e5 /options/options.c | |
parent | b6e675a9bcf05a2c52ce75e057ef522092610611 (diff) | |
download | mpv-ebd5bbd241f2b88b99a84fb899d3802e7c9b989d.tar.bz2 mpv-ebd5bbd241f2b88b99a84fb899d3802e7c9b989d.tar.xz |
x11: replace--[x11-]fstype option with --x11-netwm
Simplifies the code a lot. You can still use --x11-netwm=no to disable
NetWM for whatever reasons.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 2 insertions, 1 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, |