GNOME Bugzilla – Bug 744752
handle wayland failing more gracefully
Last modified: 2015-02-18 19:14:28 UTC
Right now if wayland fails to start we just sort of hang, trying to show a fail whale on a non-existent display server. This patchset fixes gnome-session to exit instead.
Created attachment 297143 [details] [review] app: drop unused variable from state struct
Created attachment 297144 [details] [review] app: changed registered from signal to property This will let us query it after the fact.
Created attachment 297145 [details] [review] manager: handle autorestart app death before registration Right now we rely on autorestart apps to get their death handled when they disconnect from the bus. This only works if they've registered, though. This commit makes sure the restart_app codepath gets called for autorestart apps even if they haven't registered yet. (This commit makes gnome-session exit if the display server couldn't be started)
Attachment 297143 [details] pushed as b88aa0a - app: drop unused variable from state struct Attachment 297144 [details] pushed as fdaa1e7 - app: changed registered from signal to property Attachment 297145 [details] pushed as 51c36a1 - manager: handle autorestart app death before registration