From 9da72de4edd344a7440cf06f7867edd9ab4c25e1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 13 Apr 2017 15:28:37 -0700 Subject: [PATCH] Hide mouse on login screen (BGO #781294) GDM 3.24.1 dumps a cursor in the middle of the login screen even if you didn't move the mouse yet, so let's workaround that. --- tests/_graphical_wait_login.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_graphical_wait_login.pm b/tests/_graphical_wait_login.pm index 916c9cee..be29e266 100644 --- a/tests/_graphical_wait_login.pm +++ b/tests/_graphical_wait_login.pm @@ -27,6 +27,8 @@ sub run { } # Wait for the login screen boot_to_login_screen(timeout => $wait_time); + # GDM 3.24.1 dumps a cursor in the middle of the screen here... + mouse_hide; # do user login unless USER_LOGIN is set to string 'false' unless (get_var("USER_LOGIN") eq "false") { if (get_var("DESKTOP") eq 'gnome') {