=== modified file 'gnome-session/gs-idle-monitor.c'
--- gnome-session/gs-idle-monitor.c	2009-07-14 20:36:58 +0000
+++ gnome-session/gs-idle-monitor.c	2010-08-24 22:43:28 +0000
@@ -459,6 +459,7 @@
                 watch->xalarm_positive = XSyncCreateAlarm (GDK_DISPLAY (), flags, &attr);
         }
 
+        attr.trigger.wait_value = _int64_to_xsyncvalue (_xsyncvalue_to_int64 (watch->interval) - 1);
         attr.trigger.test_type = XSyncNegativeTransition;
         if (watch->xalarm_negative != None) {
                 g_debug ("GSIdleMonitor: updating alarm for negative transition wait=%lld",

