summaryrefslogtreecommitdiff
path: root/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
blob: 62a229e55be3d5f28c59ca9d19fa4522c2c04698 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/mate-session/gs-idle-monitor.c	2012-02-29 22:03:08.000000000 +0100
+++ b/mate-session/gs-idle-monitor.c	2012-08-08 11:49:13.308281663 +0200
@@ -448,6 +448,7 @@
         attr.delta = delta;
         attr.events = TRUE;
 
+        attr.trigger.wait_value = _int64_to_xsyncvalue (_xsyncvalue_to_int64 (watch->interval) - 1);
         attr.trigger.test_type = XSyncPositiveTransition;
         if (watch->xalarm_positive != None) {
                 g_debug ("GSIdleMonitor: updating alarm for positive transition wait=%lld",