[vlc-devel] [PATCH 2/3] core: Load inhibition plugin on macOS
Rémi Denis-Courmont
remi at remlab.net
Mon Mar 4 10:35:59 CET 2019
Could remove the check now that all real window types use inhibit.
Le 2 mars 2019 12:38:23 GMT+02:00, Marvin Scholz <epirat07 at gmail.com> a écrit :
>---
> src/video_output/window.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/video_output/window.c b/src/video_output/window.c
>index a111d7f4e7c..684ca3609dc 100644
>--- a/src/video_output/window.c
>+++ b/src/video_output/window.c
>@@ -73,7 +73,7 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
>const char *module,
> /* Hook for screensaver inhibition */
> if (var_InheritBool(obj, "disable-screensaver") &&
>(window->type == VOUT_WINDOW_TYPE_XID || window->type ==
>VOUT_WINDOW_TYPE_HWND
>- || window->type == VOUT_WINDOW_TYPE_WAYLAND))
>+ || window->type == VOUT_WINDOW_TYPE_WAYLAND || window->type ==
>VOUT_WINDOW_TYPE_NSOBJECT))
> w->inhibit = vlc_inhibit_Create(VLC_OBJECT(window));
> else
> w->inhibit = NULL;
>--
>2.17.2 (Apple Git-113)
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190304/12faf1b5/attachment.html>
More information about the vlc-devel
mailing list