summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 11:28:24 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-13 11:28:24 +0000
commitf50fd20d818098d0df4c17456cf78d3ba0f3fec4 (patch)
tree9391d1fd39d37ca754dacda5d61892405ec7ff59
parent8d8079cb5fe4f2b17b330b65d2e8d8a64edc25a7 (diff)
downloadmarex-dev-f50fd20d818098d0df4c17456cf78d3ba0f3fec4.tar.gz
marex-dev-f50fd20d818098d0df4c17456cf78d3ba0f3fec4.tar.bz2
wall plugin: fixed heavy CPU usage
git-svn-id: file:///beryl/trunk@4020 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r--beryl-plugins/src/wall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/wall.c b/beryl-plugins/src/wall.c
index f6fdb6d..5465868 100644
--- a/beryl-plugins/src/wall.c
+++ b/beryl-plugins/src/wall.c
@@ -1551,7 +1551,7 @@ static void wallDonePaintScreen(CompScreen * s)
if (ws->expoCam > 0.0 || ws->moving || ws->boxTimeout)
damageScreen(s);
- if (ws->boxTimeout <= 0)
+ if (ws->boxTimeout < 0)
{
ws->boxTimeout = 0;
damageScreen(s);