summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-06-18 20:04:45 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-06-18 20:04:45 +0200
commitd969c181fb4bdb954487ebbc188cc3584ae8265c (patch)
tree1d35033ac18e9c9713ea529d39d2129e8adecc30
parent0805ff99922aae5d30d743443649b51ef4b9b12c (diff)
downloadsnow-d969c181fb4bdb954487ebbc188cc3584ae8265c.tar.gz
snow-d969c181fb4bdb954487ebbc188cc3584ae8265c.tar.bz2
Track core changes
-rw-r--r--snow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/snow.c b/snow.c
index b2e9d00..e0873a5 100644
--- a/snow.c
+++ b/snow.c
@@ -539,6 +539,9 @@ snowInitScreen (CompPlugin *p,
WRAP (ss, s, drawWindow, snowDrawWindow);
ss->timeoutHandle = compAddTimeout (snowGetSnowUpdateDelay (s->display),
+ (float)
+ snowGetSnowUpdateDelay (s->display) *
+ 1.2,
stepSnowPositions, s);
return TRUE;
@@ -606,6 +609,7 @@ snowDisplayOptionChanged (CompDisplay *d,
compRemoveTimeout (ss->timeoutHandle);
ss->timeoutHandle =
compAddTimeout (snowGetSnowUpdateDelay (d),
+ (float) snowGetSnowUpdateDelay (d) * 1.2,
stepSnowPositions, s);
}
}