summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-06-18 19:59:49 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-06-18 19:59:49 +0200
commit4271289b97d6d2abddadd6c06c19a360c2ed1bd5 (patch)
tree1648701e92e73ba82fcf8029bbfce928bcd56f0e /include/compiz.h
parent819acbd18169d2d436abb9c1624e823f75e9c733 (diff)
downloadcompiz-core-doc-4271289b97d6d2abddadd6c06c19a360c2ed1bd5.tar.gz
compiz-core-doc-4271289b97d6d2abddadd6c06c19a360c2ed1bd5.tar.bz2
Added synhronized timers.
compAddTimeout now has a minimal and a maximal timeout time. This allows compiz to execute multiple timers at once and prevents unnecessary wakeups.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/compiz.h b/include/compiz.h
index aef3a7c..cc73797 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -120,7 +120,8 @@ compSetOption (CompOption *option,
CompOptionValue *value);
CompTimeoutHandle
-compAddTimeout (int time,
+compAddTimeout (int minTime,
+ int maxTime,
CallBackProc callBack,
void *closure);