Revert "add delay in refresh"
This reverts commit 897dc1c2ba7ca2c03b6d6d11cbc92de624a76bf4.
This commit is contained in:
parent
6c38dc7d4a
commit
6b17644d98
@ -1089,8 +1089,6 @@ mod desktop {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// wait 2 seconds before getting seat0 values; was required for lightdm to get correct values
|
|
||||||
std::thread::sleep(Duration::from_secs(2));
|
|
||||||
let seat0_values = get_values_of_seat0(&[0, 1, 2]);
|
let seat0_values = get_values_of_seat0(&[0, 1, 2]);
|
||||||
if seat0_values[0].is_empty() {
|
if seat0_values[0].is_empty() {
|
||||||
*self = Self::default();
|
*self = Self::default();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user