1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-11 10:13:14 +00:00

Tidy lib/utils.pm.

This commit is contained in:
Lukas Ruzicka 2025-02-04 14:25:21 +01:00
parent 28d886fa37
commit 0c8af34e2e

View File

@ -128,9 +128,9 @@ sub desktop_switch_layout {
die "never managed to switch to layout ${layout}!"; die "never managed to switch to layout ${layout}!";
} }
my $switcher = "super-spc"; # gnome; FIXME for other envs if used my $switcher = "super-spc"; # gnome; FIXME for other envs if used
# FIXME we use send_key_until_needlematch because sometimes the # FIXME we use send_key_until_needlematch because sometimes the
# switch just doesn't work in gdm: # switch just doesn't work in gdm:
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6066#note_1707051 # https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6066#note_1707051
send_key_until_needlematch("${environment}_layout_${layout}", $switcher, 3, 3); send_key_until_needlematch("${environment}_layout_${layout}", $switcher, 3, 3);
} }