macosx: Fix 0 status level windows handling

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
This commit is contained in:
Claudio Cambra 2024-04-07 23:05:43 +08:00 committed by Steve Lhomme
parent 57daae9801
commit 49565a2e31
1 changed files with 2 additions and 1 deletions

View File

@ -534,7 +534,8 @@ int WindowOpen(vlc_window_t *p_wnd)
} else {
if (_statusLevelWindowCounter > 0) {
_statusLevelWindowCounter--;
} else if (_statusLevelWindowCounter == 0) {
}
if (_statusLevelWindowCounter == 0) {
NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
[self updateWindowLevelForHelperWindows:i_level];
}