mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
x11: stupid workaround for XMonad
--x11-netwm=yes now forces NetWM fullscreen, while --x11-netwm=auto (detect whether NetWM fullsctreen support is available) is the old behavior and still the default. See #888.
This commit is contained in:
@@ -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}",
|
||||
|
||||
Reference in New Issue
Block a user