[Xfce4-commits] <xfce4-eyes-plugin:master> Decrease update timeout.
Harald Judt
noreply at xfce.org
Sun Mar 3 10:08:02 CET 2013
Updating branch refs/heads/master
to 0a89042c7b5dbac29f1d01471d759610ebb3ade6 (commit)
from 9463e7a9416d3f293f7f0e72669a4ce27884ebd2 (commit)
commit 0a89042c7b5dbac29f1d01471d759610ebb3ade6
Author: Harald Judt <h.judt at gmx.at>
Date: Sun Mar 3 09:57:34 2013 +0100
Decrease update timeout.
I found that with the 100ms interval, animation is not quite as smooth
as I want it to be, so decrease it to 50ms. CPU load is mostly affected
by the drawing operations, not by the polling, and those happen only
on pointer movement.
panel-plugin/eyes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/eyes.c b/panel-plugin/eyes.c
index c9780dc..53ecbdf 100644
--- a/panel-plugin/eyes.c
+++ b/panel-plugin/eyes.c
@@ -43,7 +43,7 @@
/* for xml: */
#define EYES_ROOT "Eyes"
#define DEFAULTTHEME "Tango"
-#define UPDATE_TIMEOUT 100
+#define UPDATE_TIMEOUT 50
/***************************
More information about the Xfce4-commits
mailing list