gnome-power-manager r3230 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3230 - in trunk: . src
- Date: Wed, 4 Feb 2009 22:49:09 +0000 (UTC)
Author: rhughes
Date: Wed Feb 4 22:49:09 2009
New Revision: 3230
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3230&view=rev
Log:
2009-02-04 Adam Jackson <ajax redhat com>
* src/egg-idletime.c: (egg_idletime_xsync_alarm_set):
Ask for edge triggers on system idle time, not level triggers.
The latter lead to wakeup storms and sadness.
Modified:
trunk/ChangeLog
trunk/src/egg-idletime.c
Modified: trunk/src/egg-idletime.c
==============================================================================
--- trunk/src/egg-idletime.c (original)
+++ trunk/src/egg-idletime.c Wed Feb 4 22:49:09 2009
@@ -83,9 +83,9 @@
/* which way do we do the test? */
if (positive)
- test = XSyncPositiveComparison;
+ test = XSyncPositiveTransition;
else
- test = XSyncNegativeComparison;
+ test = XSyncNegativeTransition;
XSyncIntToValue (&delta, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]