aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2011-10-31 21:39:30 +0900
committeranekos2011-10-31 21:39:50 +0900
commit5a46a94e604aa0465c44f9ae346413deb72a9910 (patch)
tree1157550057cafdc4f0af8e6e25626594ae2b394c
parentd40704254c20330dba9bc4d4c73d8ad70bf45dd4 (diff)
downloadvimperator-plugins-5a46a94e604aa0465c44f9ae346413deb72a9910.tar.bz2
Alt などが押しっぱなしになるかもしれない問題を改善したかもしれない
and その調整用変数 win_mouse_release_delay を追加
-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
);
}
}