1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

Add a keypress to the 'keepalive' loop in desktop_notifications

Just repositioning the mouse appears not to be enough to prevent
the sesssion going idle any more, since the 20200731.n.0 compose.
Not sure what causes this, probably the kernel. Adding a space
keypress seems to help in both KDE and GNOME.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-08-06 18:03:08 -07:00
parent 7ada6952b4
commit a0d4c2fc65

View File

@ -74,6 +74,7 @@ sub run {
for my $n (1..16) { for my $n (1..16) {
sleep 30; sleep 30;
mouse_set 10, 10; mouse_set 10, 10;
send_key "spc";
mouse_hide; mouse_hide;
} }
if ($desktop eq 'gnome') { if ($desktop eq 'gnome') {