Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait less for a still screen in ensure_unlocked_desktop #7254

Merged
merged 2 commits into from
Apr 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/x11utils.pm
Expand Up @@ -85,13 +85,13 @@ sub ensure_unlocked_desktop {
}
last; # desktop is unlocked, mission accomplished
}
wait_still_screen 2; # slow down loop
die 'ensure_unlocked_desktop repeated too much. Check for X-server crash.' if ($counter eq 1); # die loop when generic-desktop not matched
if (match_has_tag 'screenlock') {
wait_screen_change {
send_key 'esc'; # end screenlock
send_key 'esc'; # end screenlock
};
}
die 'ensure_unlocked_desktop repeated too much. Check for X-server crash.' if ($counter eq 1); # die loop when generic-desktop not matched
wait_still_screen 1; # slow down loop
}
}

Expand Down