summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-02-13 20:08:43 +0100
committerAkemi <der.richter@gmx.de>2017-02-13 22:49:11 +0100
commit64b0d81c32d90fe29485bdb218fb76608b9aa31b (patch)
treecff0ad349d3d85e8207c5c05b3fcbbe21657fd96 /options/options.h
parent34b7d523173a0db0f04fa6904f816e0033662802 (diff)
downloadmpv-64b0d81c32d90fe29485bdb218fb76608b9aa31b.tar.bz2
mpv-64b0d81c32d90fe29485bdb218fb76608b9aa31b.tar.xz
cocoa: add --ontop-level option for modifying ontop window level
since there are different views on what ontop is, we make the ontop window level modifiable. at the moment only support for macOS was added. the default for macOS was changed from 'system' to 'window' since this fixes an unwanted behaviour in fullscreen and in general causes less issues with expected behaviour. Fixes #2376 #3974
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 f465c0f862..926b238b06 100644
--- a/options/options.h
+++ b/options/options.h
@@ -12,6 +12,7 @@ typedef struct mp_vo_opts {
int taskbar_progress;
int snap_window;
int ontop;
+ int ontop_level;
int fullscreen;
int border;
int fit_border;