summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/comprehensive2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/comprehensive b/examples/comprehensive
index ce6adbf..1ee514f 100644
--- a/examples/comprehensive
+++ b/examples/comprehensive
@@ -377,7 +377,7 @@ def reset():
randr(monitors[m % len(monitors)])
-if get_dayness is not None:
+if (get_dayness is not None) and not doreset:
# Set transition time, 0 on high day and 5 seconds on high night.
fadein_time = 5 * (1 - get_dayness())
# Do 10 changes per second.