Commit 83306b53 authored by Laurent Aimar's avatar Laurent Aimar

Fixed coding style (window.c).

parent 21e527a0
...@@ -87,11 +87,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj, ...@@ -87,11 +87,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
} }
/* Hook for screensaver inhibition */ /* Hook for screensaver inhibition */
if ( var_InheritBool( obj, "disable-screensaver" ) && cfg->type == VOUT_WINDOW_TYPE_XID) { if (var_InheritBool(obj, "disable-screensaver") &&
w->inhibit = vlc_inhibit_Create (VLC_OBJECT (window), cfg->type == VOUT_WINDOW_TYPE_XID) {
w->inhibit = vlc_inhibit_Create(VLC_OBJECT (window),
window->handle.xid); window->handle.xid);
if (w->inhibit != NULL) if (w->inhibit != NULL)
vlc_inhibit_Set (w->inhibit, true); vlc_inhibit_Set(w->inhibit, true);
/* FIXME: ^ wait for vout activation, pause */ /* FIXME: ^ wait for vout activation, pause */
} }
else else
......
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