summaryrefslogtreecommitdiffstats
path: root/examples/textconf
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-19 05:46:06 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-19 05:46:06 +0100
commit1f289a0b90529346ea88169840a1cf11c7da3842 (patch)
tree91fcf2d5c1fcc3d3aed441521f56a80ed5cf2117 /examples/textconf
parentupdate todo (diff)
downloadblueshift-1f289a0b90529346ea88169840a1cf11c7da3842.tar.gz
blueshift-1f289a0b90529346ea88169840a1cf11c7da3842.tar.bz2
blueshift-1f289a0b90529346ea88169840a1cf11c7da3842.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/textconf')
-rw-r--r--examples/textconf5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/textconf b/examples/textconf
index 1e00c6b..acddc79 100644
--- a/examples/textconf
+++ b/examples/textconf
@@ -469,10 +469,9 @@ def periodically(year, month, day, hour, minute, second, weekday, fade):
for adjustment in adjustments:
adjustment(timepoint, alpha)
- r, g, b = r_curve[:], g_curve[:], b_curve[:]
-
+ stored = store()
for crtcs, screens, output_adjustments in monitors:
- r_curve[:], g_curve[:], b_curve[:] = r, g, b
+ restore(stored)
for adjustment in output_adjustments:
adjustment(timepoint, alpha)