diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | daemon/slave.c | 12 |
2 files changed, 14 insertions, 9 deletions
@@ -1,3 +1,10 @@ +2007-08-29 Brian Cameron <brian.cameron@sun.com> + + * daemon/slave.c: Fix bug with ConsoleKit that occurs when + the session is going to migrate. Previous code was failing + to send the notification when the greeter is not TYPE_FLEXI. + Fixes bug #461056. Patch by Ian Jackson <iwj@ubuntu.com> + 2007-08-28 Brian Cameron <brian.cameron@sun.com> * gui/greeter/greeter_canvas_item.c: Set invisible character to '*' if @@ -619,8 +626,8 @@ * daemon/misc.c: In gdm_fdgetc must used an unsigned char buffer here because the GUI sends username/password data as utf8 and the daemon will interpret any character sent with its high bit set as EOF - unless we used unsigned here. Patch by Lo\357c Minier - <lool+gnome@via.ecp.fr> + unless we used unsigned here. Fixes bug #436808. Patch by + Lo\357c Minier <lool+gnome@via.ecp.fr> 2007-05-09 Brian Cameron <brian.cameron@sun.com> diff --git a/daemon/slave.c b/daemon/slave.c index 44de2e99..459aeb88 100644 --- a/daemon/slave.c +++ b/daemon/slave.c @@ -1344,21 +1344,19 @@ gdm_slave_check_user_wants_to_log_in (const char *user) /* wait for a few seconds to avoid any vt changing race */ gdm_sleep_no_signal (1); + } #ifdef WITH_CONSOLE_KIT - unlock_ck_session (user, migrate_to); + unlock_ck_session (user, migrate_to); #endif + gdm_slave_send_string (GDM_SOP_MIGRATE, migrate_to); + g_free (migrate_to); - gdm_slave_send_string (GDM_SOP_MIGRATE, migrate_to); - g_free (migrate_to); - + if (d->type == TYPE_FLEXI) { /* we are no longer needed so just die. REMANAGE == ABORT here really */ gdm_slave_quick_exit (DISPLAY_REMANAGE); } - - gdm_slave_send_string (GDM_SOP_MIGRATE, migrate_to); - g_free (migrate_to); } else { Display *parent_dsp; |