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 <develo...@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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to