[vlc-commits] [Git][videolan/vlc][master] macosx: Reopen video windows on current media item change

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Aug 17 19:50:01 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
5753828d by Claudio Cambra at 2025-08-17T19:21:05+00:00
macosx: Reopen video windows on current media item change

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/windows/video/VLCVideoWindowCommon.m


Changes:

=====================================
modules/gui/macosx/windows/video/VLCVideoWindowCommon.m
=====================================
@@ -161,6 +161,10 @@ NSString *VLCWindowShouldShowController = @"VLCWindowShouldShowController";
     }
 
     self.representedURL = [NSURL URLWithString:inputItem.MRL];
+    
+    if (self.hasActiveVideo && !self.isVisible && !self.playerController.currentMediaIsAudioOnly && self.playerController.videoTracksEnabled) {
+        [self makeKeyAndOrderFront:self];
+    }
 }
 
 - (void)setTitle:(NSString *)title



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5753828d2e8d4701c0ff0d9c68a67503739db572

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5753828d2e8d4701c0ff0d9c68a67503739db572
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list