Skip to content

gdm: honor timed login delay even if animations disabled

Ray Strode requested to merge halfline/gnome-shell:timed-login-fix into master

This is a downstream patch I apparently never upstreamed ? weird.

--

gnome-shell currently initiates an automatic login attempt if timed login is enabled and the timed login animation completes.

Unfortunately, if animations are disabled (as is the case for virtual machines) then the timed login animation will complete instantly, and timed login will proceed immediately after gnome-shell has noticed the user is idle for 5 seconds.

This commit addresses that problem by initiating timed login and the animation from a main loop timeout, instead of using the tweener api.

Merge request reports