diff options
| author | nyamatongwe <devnull@localhost> | 2003-02-23 02:05:55 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2003-02-23 02:05:55 +0000 |
| commit | dc46f3c00e60ecbca323ea661c02c146943024cf (patch) | |
| tree | 0dfb714062262b4ce1d68b9c349c7b6beda63de1 /src | |
| parent | eb4c37657c76b04e3b261a568ac88d2f985390f7 (diff) | |
| download | scintilla-mirror-dc46f3c00e60ecbca323ea661c02c146943024cf.tar.gz | |
Patch from Jakub Vrana to avoid mouse debouncing on Windows where assigning
a key to double click can result in two mouse clicks arriving with the same
time.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b156dd3ec..5f3020fc0 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4338,7 +4338,7 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b SetEmptySelection(newPos); bool doubleClick = false; // Stop mouse button bounce changing selection type - if (curTime != lastClickTime) { + if (!Platform::MouseButtonBounce() || curTime != lastClickTime) { if (selectionType == selChar) { selectionType = selWord; doubleClick = true; |
