diff options
author | Sam Spilsbury <Sam@XPS-SUSE.site> | 2008-11-18 11:34:32 +0900 |
---|---|---|
committer | Sam Spilsbury <Sam@XPS-SUSE.site> | 2008-11-18 11:34:32 +0900 |
commit | 88c3cf3cb6a3e5835efd0ce97ac2549db3ab23f0 (patch) | |
tree | 95a3872bc003a135dadb25d5eeca90cde58364c5 | |
parent | cd454ff13dbfd2e09c6353f14cb300e85ba7a103 (diff) | |
download | lazypointer-88c3cf3cb6a3e5835efd0ce97ac2549db3ab23f0.tar.gz lazypointer-88c3cf3cb6a3e5835efd0ce97ac2549db3ab23f0.tar.bz2 |
* Typofix
-rw-r--r-- | lazypointer.c | 2 | ||||
-rw-r--r-- | lazypointer.xml.in | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lazypointer.c b/lazypointer.c index fca7209..6b05175 100644 --- a/lazypointer.c +++ b/lazypointer.c @@ -71,7 +71,7 @@ static void lpPreparePaintScreen (CompScreen *s, int ms) { - float speed = 5.0f; + float speed = lazypointerGetSpeed (s->display); float steps = ((float) ms / ((20.1 - speed) * 100)); LP_SCREEN (s); diff --git a/lazypointer.xml.in b/lazypointer.xml.in index b21120b..cf1a201 100644 --- a/lazypointer.xml.in +++ b/lazypointer.xml.in @@ -25,6 +25,13 @@ <_long>Center the mouse in the middle of a window when it is placed</_long> <default>False</default> </option> + <option type="float" name="speed"> + <_short>Cursor Movement speed</_short> + <_long>How fast the cursor should move when animated</_long> + <min>1</min> + <max>20</max> + <default>4</default> + </option> <option type="key" name="initiate_window_key"> <_short>Center the mouse in a window</_short> <_long>Center the mouse in the activated window</_long> |