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).
This commit is contained in:
Adam Williamson 2017-09-02 16:16:54 -07:00
parent 64049aad12
commit b6c23ff4cf

View File

@ -394,6 +394,8 @@ sub gnome_initial_setup {
assert_screen "next_button", $args{timeout}; assert_screen "next_button", $args{timeout};
# wait a bit in case of animation # wait a bit in case of animation
wait_still_screen 3; 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) { for my $n (1..$nexts) {
# click 'Next' $nexts times, moving the mouse to avoid # click 'Next' $nexts times, moving the mouse to avoid
# highlight problems, sleeping to give it time to get # highlight problems, sleeping to give it time to get