summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorpavelxdd <pavel.otchertsov@gmail.com>2016-12-09 21:22:33 +0300
committerwm4 <wm4@nowhere>2017-01-27 12:00:32 +0100
commit9c90c902c11f557577f22e72a3a2db0034c511d8 (patch)
tree6297152519ff7e18c5abfc99e9d9f343a13e2274 /options/options.h
parentcfda696580a994055e4532a273ce86c867ffdac4 (diff)
downloadmpv-9c90c902c11f557577f22e72a3a2db0034c511d8.tar.bz2
mpv-9c90c902c11f557577f22e72a3a2db0034c511d8.tar.xz
win32: snap to screen edges
Disabled by default. The snap sensitivity value depends on the screen DPI. The default value is 16px on a 96 DPI screen. Fixes #2248
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 6199eae5fe..b0687ac9e5 100644
--- a/options/options.h
+++ b/options/options.h
@@ -10,6 +10,7 @@ typedef struct mp_vo_opts {
struct m_obj_settings *video_driver_list;
int taskbar_progress;
+ int snap_window;
int ontop;
int fullscreen;
int border;