Skip to content

main: Call GDM's RegisterSession()

Iain Lane requested to merge wip/gdm-register-session into master

We just added a new RegisterSession() method to GDM's D-Bus interface.

The idea is that we can tell GDM from the Shell (or any other window manager) side when we've finished starting up, so that it can

  1. Know whether to fallback to Xorg - because the Shell-wayland died without ever registering
  2. Kill the login screen at the right time, after the session is registered

Here I add a call to this method on the startup-complete signal of the layout manager. If there's a better place, let me know and it can easily be moved.

Edited by Iain Lane

Merge request reports