From b6c23ff4cfe1a0833f768551288fd88e513fbdd7 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 2 Sep 2017 16:16:54 -0700 Subject: [PATCH] Hide cursor at start of prelogin gnome-initial-setup For the same reason we do it at the start of GDM (recent mutter dumps a mouse cursor in the middle of the screen on startup). --- lib/utils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index 6a8f06b9..cd4ae5d5 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -394,6 +394,8 @@ sub gnome_initial_setup { assert_screen "next_button", $args{timeout}; # wait a bit in case of animation wait_still_screen 3; + # GDM 3.24.1 dumps a cursor in the middle of the screen here... + mouse_hide if ($args{prelogin}); for my $n (1..$nexts) { # click 'Next' $nexts times, moving the mouse to avoid # highlight problems, sleeping to give it time to get