diff options
author | wm4 <wm4@nowhere> | 2014-05-20 02:40:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-20 02:40:28 +0200 |
commit | 2f65f0e2548f95b3b8ba6620efe6c0e3cb02420b (patch) | |
tree | befd281e20fca19e7acdd9be08d2aeef445c23b5 /options/options.c | |
parent | 15c22fb0eb1e29a5dfc04b07dda958d6c415d5c1 (diff) | |
download | mpv-2f65f0e2548f95b3b8ba6620efe6c0e3cb02420b.tar.bz2 mpv-2f65f0e2548f95b3b8ba6620efe6c0e3cb02420b.tar.xz |
input: allow disabling window dragging with --no-window-dragging
Requested in github issue #608.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 37bea53472..3b9347ebb8 100644 --- a/options/options.c +++ b/options/options.c @@ -448,6 +448,8 @@ const m_option_t mp_opts[] = { OPT_FLAG("ontop", vo.ontop, M_OPT_FIXED), OPT_FLAG("border", vo.border, M_OPT_FIXED), + OPT_FLAG("window-dragging", allow_win_drag, CONF_GLOBAL), + OPT_CHOICE("softvol", softvol, 0, ({"no", SOFTVOL_NO}, {"yes", SOFTVOL_YES}, @@ -662,6 +664,7 @@ const struct MPOpts mp_default_opts = { .WinID = -1, .x11_netwm = 1, }, + .allow_win_drag = 1, .wintitle = "mpv - ${media-title}", .heartbeat_interval = 30.0, .stop_screensaver = 1, |