[gnome-power-manager] Revert "Add a bodge to reset the idletime XAlarm when we are no longer inhibited."
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Revert "Add a bodge to reset the idletime XAlarm when we are no longer inhibited."
- Date: Fri, 14 Aug 2009 09:00:35 +0000 (UTC)
commit 3399970e19d4e11921d92c88b11f5dc9dc9c18ea
Author: Richard Hughes <richard hughsie com>
Date: Fri Aug 14 09:58:02 2009 +0100
Revert "Add a bodge to reset the idletime XAlarm when we are no longer inhibited."
This reverts commit b5cf34d4b9861ab916a3ff74a2a08093ccb75b9f.
Peter has found and patched the bug in the X server that was causing the failure
of negative transition triggers in XSync.
For you and me, that means that XIDLETIME now works as expected, and gnome-session
and gnome-power-manager do the right thing. This means no more random blanking
when typing.
The important patch for the xserver is here:
http://cgit.freedesktop.org/xorg/xserver/patch/?id=db568f9eabf3450d8a023597ff007df355b13ea8
src/gpm-idle.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gpm-idle.c b/src/gpm-idle.c
index 313412e..84a9365 100644
--- a/src/gpm-idle.c
+++ b/src/gpm-idle.c
@@ -359,14 +359,6 @@ static void
gpm_idle_session_inhibited_changed_cb (GpmSession *session, gboolean is_inhibited, GpmIdle *idle)
{
egg_debug ("Received gnome session inhibited changed: %i", is_inhibited);
-
- /* gnome-session IDLETIME bug -- For more details see:
- * http://blogs.gnome.org/hughsie/2009/07/30/accidental-blanking-and-gnome-power-manager/ */
- if (!is_inhibited) {
- egg_warning ("performing gnome-session IDLETIME bodge");
- egg_idletime_alarm_reset_all (idle->priv->idletime);
- }
-
gpm_idle_evaluate (idle);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]