aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-02-23 02:05:55 +0000
committernyamatongwe <devnull@localhost>2003-02-23 02:05:55 +0000
commitdc46f3c00e60ecbca323ea661c02c146943024cf (patch)
tree0dfb714062262b4ce1d68b9c349c7b6beda63de1 /gtk/PlatGTK.cxx
parenteb4c37657c76b04e3b261a568ac88d2f985390f7 (diff)
downloadscintilla-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 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 8afe2bcba..0a84f46a1 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -1686,6 +1686,10 @@ unsigned int Platform::DoubleClickTime() {
return 500; // Half a second
}
+bool Platform::MouseButtonBounce() {
+ return true;
+}
+
void Platform::DebugDisplay(const char *s) {
printf("%s", s);
}