summaryrefslogtreecommitdiff
path: root/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@gmail.com>2015-08-19 16:33:59 +0100
committerV3n3RiX <venerix@gmail.com>2015-08-19 16:33:59 +0100
commitd69a0e6648e991514d05e8a4b5f5d205c16c6455 (patch)
tree836882f522fdcd95561e471815bca987699f925f /mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
parent3bd4e9fe67ccf3ffade8c12513f6e5185b5cedeb (diff)
cherry pick upower 0.99 support for mate-session-manager && mate-power-manager, and force them to link only against it, dropping upower-pm-utils
Diffstat (limited to 'mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch')
-rw-r--r--mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch b/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
new file mode 100644
index 00000000..62a229e5
--- /dev/null
+++ b/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
@@ -0,0 +1,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",