[gnome-settings-daemon] power: Wake up the display when about to logout



commit b7f2c72a9b810612c6ab9ee1700cf8c7c9d7d65d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 31 12:46:25 2013 +0100

    power: Wake up the display when about to logout
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692559

 plugins/power/gsd-power-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index f283e02..6c15563 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -3071,6 +3071,9 @@ show_sleep_warning (GsdPowerManager *manager)
         notify_notification_set_app_name (manager->priv->notification_sleep_warning, _("Power"));
 
         notify_notification_show (manager->priv->notification_sleep_warning, NULL);
+
+        if (manager->priv->sleep_action_type == GSD_POWER_ACTION_LOGOUT)
+                set_temporary_unidle_on_ac (manager, TRUE);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]