Commit 07c007cc authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: reset window level when closing the vout

parent 327ffd12
...@@ -249,6 +249,9 @@ void Close(vlc_object_t *this) ...@@ -249,6 +249,9 @@ void Close(vlc_object_t *this)
vout_display_t *vd = (vout_display_t *)this; vout_display_t *vd = (vout_display_t *)this;
vout_display_sys_t *sys = vd->sys; vout_display_sys_t *sys = vd->sys;
if ([[sys->glView window] level] != NSNormalWindowLevel)
[[sys->glView window] setLevel: NSNormalWindowLevel];
[sys->glView setVoutDisplay:nil]; [sys->glView setVoutDisplay:nil];
var_Destroy(vd, "drawable-nsobject"); 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