[gnome-settings-daemon] power: Don't switch on DPMS when suspending
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Don't switch on DPMS when suspending
- Date: Mon, 14 Jan 2013 12:04:13 +0000 (UTC)
commit aa6d44d8b82718950995d48aeae29514019dc010
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 14 09:58:11 2013 +0100
power: Don't switch on DPMS when suspending
We already do it when resuming.
https://bugzilla.gnome.org/show_bug.cgi?id=691699
plugins/power/gsd-power-manager.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index af91ac5..f45cfb8 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -3896,19 +3896,6 @@ screen_lock_done_cb (gpointer data)
static void
handle_suspend_actions (GsdPowerManager *manager)
{
- gboolean ret;
- GError *error = NULL;
-
- /* ensure we turn the panel back on after resume */
- ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen,
- GNOME_RR_DPMS_ON,
- &error);
- if (!ret) {
- g_warning ("failed to turn the panel on after resume: %s",
- error->message);
- g_error_free (error);
- }
-
lock_screensaver (manager, screen_lock_done_cb);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]