Skip to content

power: Never register sleep timeout for logout in GDM

Benjamin Berg requested to merge benzea/avoid-automatic-logout into master

We already suppress logout actions in GDM (10aa1714, power: Avoid automatic logout in GDM/greeter). However, while this prevents the action, we may still warn.

Change it so that the corresponding timeouts will never be registered. Leave the guard in gnome_session_logout but add a warning as we should never be hitting that code path.

Merge request reports