gdm: don't do legacy gdm transition at shutdown

This commit is contained in:
Ray Strode 2011-03-29 13:06:28 -04:00
parent 6e748588cd
commit d1beb39095

View file

@ -938,7 +938,8 @@ quit_program (state_t *state)
}
#ifdef PLY_ENABLE_GDM_TRANSITION
if (state->should_retain_splash)
if (state->should_retain_splash &&
state->mode == PLY_BOOT_SPLASH_MODE_BOOT_UP)
{
tell_gdm_to_transition ();
}