summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick <patrick@ThinkPat-z61t.(none)>2008-06-28 16:16:44 -0600
committerPatrick <patrick@ThinkPat-z61t.(none)>2008-06-28 16:16:44 -0600
commitc2be1a086a15c6982d9d13bbbe763b47d4892c14 (patch)
tree3d7c0436d675d2d4b4604e763d2155df58abbfd1
parent30295565f1a1a72b018bf7d026fbaaf558f6165f (diff)
downloadelements-c2be1a086a15c6982d9d13bbbe763b47d4892c14.tar.gz
elements-c2be1a086a15c6982d9d13bbbe763b47d4892c14.tar.bz2
Fixed for core changes to 0.7.7
Changed from copyleft to copyright because some people kick kittens.
-rw-r--r--elements.c13
-rw-r--r--images/plugin-elements.pngbin160587 -> 9132 bytes
2 files changed, 7 insertions, 6 deletions
diff --git a/elements.c b/elements.c
index aca450d..89d2a2b 100644
--- a/elements.c
+++ b/elements.c
@@ -3,7 +3,7 @@
////////////////////////////////////////////////////////////////////////
/* *
* *
- * Copyleft (c) 2008 Patrick Fisher *
+ * Copyright (c) 2008 Patrick Fisher *
* pat@elementsplugin.com *
* http://www.elementsplugin.com/ *
* Based on the Snow Plugin *
@@ -1103,8 +1103,9 @@ elementsInitScreen (CompPlugin *p,
setupDisplayList (eScreen);
WRAP (eScreen, s, paintOutput, elementsPaintOutput);
WRAP (eScreen, s, drawWindow, elementsDrawWindow);
- eScreen->timeoutHandle = compAddTimeout (elementsGetUpdateDelay (s->display),
- stepPositions, s);
+ eScreen->timeoutHandle = compAddTimeout (elementsGetUpdateDelay (s->display),
+ (float) elementsGetUpdateDelay (s->display) * 1.2,
+ stepPositions, s);
return TRUE;
}
@@ -1406,9 +1407,9 @@ elementsDisplayOptionChanged (CompDisplay *d,
if (eScreen->timeoutHandle)
compRemoveTimeout (eScreen->timeoutHandle);
- eScreen->timeoutHandle =
- compAddTimeout (elementsGetUpdateDelay (d),
- stepPositions, s);
+ eScreen->timeoutHandle = compAddTimeout (elementsGetUpdateDelay (s->display),
+ (float) elementsGetUpdateDelay (s->display) * 1.2,
+ stepPositions, s);
}
}
break;
diff --git a/images/plugin-elements.png b/images/plugin-elements.png
index 39fc418..0861e4b 100644
--- a/images/plugin-elements.png
+++ b/images/plugin-elements.png
Binary files differ