Commit ae0cd5b6 authored by David Fuhrmann's avatar David Fuhrmann

macosx: use var_InheritBool to read disable-screensaver

parent fa34285e
......@@ -284,7 +284,7 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
}
}
BOOL shouldDisableScreensaver = var_InheritInteger(p_intf, "disable-screensaver");
BOOL shouldDisableScreensaver = var_InheritBool(p_intf, "disable-screensaver");
/* Declare user activity.
This wakes the display if it is off, and postpones display sleep according to the users system preferences
......
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