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.
This commit is contained in:
Adam Williamson 2017-04-13 15:28:37 -07:00
parent ee283b1411
commit 9da72de4ed

View File

@ -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') {