Commit e4f712cb authored by Harald Sitter's avatar Harald Sitter

force a timeout on x11 start program

in master krunner is now delayed until first use meaning the first use
startup can take a while. make sure to wait more than a single screenshot
for krunner to appear. otherwise we might type too soon and lose input
parent 08fc7c7f
......@@ -12,6 +12,9 @@ sub init() {
sub x11_start_program($$$) {
my ($self, $program, $timeout, $options) = @_;
# KRunner is dbus-invoked, this can take a while. Make sure we give it
# enough time.
$timeout //= 4;
# enable valid option as default
$options->{valid} //= 1;
send_key "alt-f2";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment