diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2011-12-07 12:42:04 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-25 22:30:37 +0300 |
commit | 506d9beb666bae92a93b945594f4cb857e9a5ca5 (patch) | |
tree | bb328a718c9554166d9cf942e50e75571e4f9a46 /libvo/gl_common.c | |
parent | 06e3dc8eba756778e0cca6f55e24f0ae39d4489f (diff) | |
download | mpv-506d9beb666bae92a93b945594f4cb857e9a5ca5.tar.bz2 mpv-506d9beb666bae92a93b945594f4cb857e9a5ca5.tar.xz |
vo_gl: cocoa: add support for --ontop
Make the cocoa backend change the non-fullscreen window level
according to the value of the ontop property.
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r-- | libvo/gl_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 7cca800d40..9245811911 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -2049,6 +2049,7 @@ MPGLContext *init_mpglcontext(enum MPGLType type, struct vo *vo) ctx->check_events = cocoa_check_events; ctx->update_xinerama_info = cocoa_update_xinerama_info; ctx->fullscreen = cocoa_fullscreen; + ctx->ontop = vo_cocoa_ontop; if (vo_cocoa_init(vo)) return ctx; break; |