Commit 55b9bec4 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: reset window level when closing the vout

(cherry picked from commit 07c007cc)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 56c5878e
......@@ -249,6 +249,9 @@ void Close(vlc_object_t *this)
vout_display_t *vd = (vout_display_t *)this;
vout_display_sys_t *sys = vd->sys;
if ([[sys->glView window] level] != NSNormalWindowLevel)
[[sys->glView window] setLevel: NSNormalWindowLevel];
[sys->glView setVoutDisplay:nil];
var_Destroy(vd, "drawable-nsobject");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment