Commit 94abdf05 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* forward-port [23884]

parent 1d1062e5
...@@ -152,14 +152,17 @@ ...@@ -152,14 +152,17 @@
vout_thread_t *p_vout = vlc_object_find( VLCIntf, VLC_OBJECT_VOUT, FIND_ANYWHERE ); vout_thread_t *p_vout = vlc_object_find( VLCIntf, VLC_OBJECT_VOUT, FIND_ANYWHERE );
BOOL blackout_other_displays = var_GetBool( p_vout, "macosx-black" ); BOOL blackout_other_displays = var_GetBool( p_vout, "macosx-black" );
screen = [NSScreen screenWithDisplayID:(CGDirectDisplayID)var_GetInteger( p_vout, "video-device" )]; screen = [[NSScreen screens] objectAtIndex: var_GetInteger( p_vout, "video-device" )];
vlc_object_release( p_vout );
[self lockFullscreenAnimation]; [self lockFullscreenAnimation];
if (!screen) if (!screen)
{
msg_Dbg( p_vout, "chosen screen isn't present, using current screen for fullscreen mode" );
screen = [self screen]; screen = [self screen];
}
vlc_object_release( p_vout );
screen_rect = [screen frame]; screen_rect = [screen frame];
......
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