From cf6fbae30a10aa1f70eb63b54d0de52e99073a25 Mon Sep 17 00:00:00 2001 From: Sahil Yeole Date: Sun, 30 Jul 2023 17:58:14 +0530 Subject: [PATCH] add attempts for getting values of seat0 for gdm_wayland Signed-off-by: Sahil Yeole --- libs/hbb_common/src/platform/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hbb_common/src/platform/linux.rs b/libs/hbb_common/src/platform/linux.rs index 4aeeefb58..65d18c701 100644 --- a/libs/hbb_common/src/platform/linux.rs +++ b/libs/hbb_common/src/platform/linux.rs @@ -129,7 +129,7 @@ pub fn get_values_of_seat0(indices: &[usize]) -> Vec { #[inline] pub fn get_values_of_seat0_with_gdm_wayland(indices: &[usize]) -> Vec { - _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 {