loginDialog: hide user list when starting timed login
If the timeout fires and we're starting timed login, we
should hide the user list, in case the login process
needs to show the user any messages on the auth prompt.
loginDialog: hide authprompt when VT switching away
The authprompt is no longer useful if the user isn't
on the VT, and it's not what the user is going to
ultimately see when they come back (they'll see the
user list), so we should hide it.
Fixes a bug where it briefly blinks in view on
VT switch.
loginDialog: stop timed login when VT switching away
At the moment, the timed login timer continues along even
after the user logs in. That's wrong, the login screen should
be dormant when the VT isn't active.
This commit makes sure we turn off timed login when the user
is about to be logged in and when the user switches VTs.
loginDialog: only reactivate dialog when session goes active
At the moment, we reactivate the login dialog any time any
property on the logind session proxy changes and the VT
is active.
That means we sometimes reactivate the login screen even
when the user isn't switching VTs to the login screen.
This commit ensures that we only check if the session is
active when the session activeness changes, and not when other
logind session properties change.