Commit 77cb25d1 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix handling of video-on-top (close #9615)

parent ce91cdb7
......@@ -251,8 +251,10 @@
[o_vout_dict removeObjectForKey:o_key];
if ([o_vout_dict count] == 0)
if ([o_vout_dict count] == 0) {
[[VLCMain sharedInstance] setActiveVideoPlayback:NO];
i_statusLevelWindowCounter = 0;
}
}
......@@ -274,7 +276,9 @@
i_statusLevelWindowCounter++;
[self updateWindowLevelForHelperWindows:i_level];
} else {
i_statusLevelWindowCounter--;
if (i_statusLevelWindowCounter > 0)
i_statusLevelWindowCounter--;
if (i_statusLevelWindowCounter == 0) {
[self updateWindowLevelForHelperWindows:i_level];
}
......
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