add attempts for getting values of seat0 for gdm_wayland
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
30c002831e
commit
cf6fbae30a
@ -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> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user