aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win-mouse.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/win-mouse.js b/win-mouse.js
index 12fa8fa..285b838 100644
--- a/win-mouse.js
+++ b/win-mouse.js
@@ -35,7 +35,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
// INFO {{{
let INFO =
<>
- <plugin name="Win Cursor" version="1.3.1"
+ <plugin name="Win Cursor" version="1.3.2"
href="http://vimpr.github.com/"
summary="Cursor control plugin for MS Windows"
lang="en-US"
@@ -109,6 +109,15 @@ let INFO =
</p>
</description>
</item>
+ <item>
+ <tags>g:win_mouse_release_delay</tags>
+ <spec>g:win_mouse_release_delay = <a>msec</a></spec>
+ <description>
+ <p>
+ <a>msec</a> milliseconds after clicking, release modifier keys.
+ </p>
+ </description>
+ </item>
</plugin>
</>;
// }}}
@@ -447,7 +456,7 @@ let INFO =
}
SendInput(relKeys.length, ClickInput.address(), MouseInput.size)
},
- 50
+ liberator.globalVariables.win_mouse_release_delay || 5
);
}
}