diff options
author | Brian Cameron <brian.cameron@oracle.com> | 2011-12-15 19:53:43 -0600 |
---|---|---|
committer | Brian Cameron <brian.cameron@oracle.com> | 2011-12-15 19:53:43 -0600 |
commit | d987eb9e59f837448ca08fe85bc1190a228934d1 (patch) | |
tree | 09c29041113c50dbf48e7fa0e53d3b4cc582a5fd /daemon/main.c | |
parent | feb2c3410a53ea806016ca8ee3582dcf66dbc9a7 (diff) | |
download | gdm-wip/multi-seat.tar.gz |
Add ConsoleKit MultiSeat support. See bug 536355.wip/multi-seat
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c index 5b8d66b2..26e14f55 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -215,7 +215,19 @@ bus_proxy_destroyed_cb (DBusGProxy *bus_proxy, g_object_unref (*managerp); *managerp = NULL; +#if __sun + /* + * This function is only called when the D-Bus Service exits. Calling + * this timeout function causes all GDM sessions to exit anyway. The + * timeout function just cauess GDM to act like it is starting again. + * Since SMF already takes care of restarting GDM on Solaris, and since + * using the timeout confuses SMF, just exit and let SMF take care of + * this. + */ + exit (-1); +#else g_timeout_add_seconds (3, (GSourceFunc)bus_reconnect, managerp); +#endif } static void |