From 0a89042c7b5dbac29f1d01471d759610ebb3ade6 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Sun, 3 Mar 2013 09:57:34 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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 /***************************