[vlc-devel] [vlc-commits] macosx: respect 'disable-screensaver' option (closes #16670)

David Fuhrmann david.fuhrmann at gmail.com
Wed Feb 24 20:34:17 CET 2016


> Am 24.02.2016 um 08:53 schrieb Felix Paul Kühne <git at videolan.org>:
> 
> vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Feb 24 08:53:05 2016 +0100| [e97065eb840e4cd65ff628a402c78a0451908b11] | committer: Felix Paul Kühne
> 
> macosx: respect 'disable-screensaver' option (closes #16670)
> 
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e97065eb840e4cd65ff628a402c78a0451908b11
> ---
> 
> modules/gui/macosx/InputManager.m |    9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/modules/gui/macosx/InputManager.m b/modules/gui/macosx/InputManager.m
> index 7815de5..c6ddbcd 100644
> --- a/modules/gui/macosx/InputManager.m
> +++ b/modules/gui/macosx/InputManager.m
> @@ -284,11 +284,14 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
>             }
>         }
> 
> +        BOOL shouldDisableScreensaver = var_InheritInteger(p_intf, "disable-screensaver“);

Hi,

Why no var_InheritBool?

BR. David



More information about the vlc-devel mailing list