add attempts for getting values of seat0 for gdm_wayland

Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
Sahil Yeole 2023-07-30 17:58:14 +05:30
parent 30c002831e
commit cf6fbae30a

View File

@ -129,7 +129,7 @@ pub fn get_values_of_seat0(indices: &[usize]) -> Vec<String> {
#[inline]
pub fn get_values_of_seat0_with_gdm_wayland(indices: &[usize]) -> Vec<String> {
_get_values_of_seat0(indices, false)
_get_values_of_seat0(indices, false, 20)
}
fn _get_values_of_seat0(indices: &[usize], ignore_gdm_wayland: bool, attempts: usize) -> Vec<String> {