[vlc-devel] [PATCH] macosx: unblackout other screens on lion as well, when leaving full screen

Rafaël Carré rafael.carre at gmail.com
Mon Jan 23 01:00:56 CET 2012


Le 22 janv. 2012 18:11, "David Fuhrmann" <david.fuhrmann at googlemail.com> a
écrit :
>
> ---
>  modules/gui/macosx/MainWindow.m |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/modules/gui/macosx/MainWindow.m
b/modules/gui/macosx/MainWindow.m
> index 674e615..b6507dc 100644
> --- a/modules/gui/macosx/MainWindow.m
> +++ b/modules/gui/macosx/MainWindow.m
> @@ -1515,7 +1515,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
>     [o_fullscreen_btn setState: NO];
>
>     /* We always try to do so */
> -    if (!(OSX_LION || !b_nativeFullscreenMode))
> +    if ( !b_nativeFullscreenMode )

You should remove the !

>         [NSScreen unblackoutScreens];
>     vout_thread_t *p_vout = getVout();
>     if (p_vout)
> --
> 1.7.5.4
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120122/999c871a/attachment.html>


More information about the vlc-devel mailing list