aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-02-23 02:05:55 +0000
committernyamatongwe <unknown>2003-02-23 02:05:55 +0000
commit647c273bc7f97218914b1b57f9f7a10ad3beb715 (patch)
tree0dfb714062262b4ce1d68b9c349c7b6beda63de1 /gtk/PlatGTK.cxx
parent3de2de75f4d65a528089c9e28037974b44632ab9 (diff)
downloadscintilla-mirror-647c273bc7f97218914b1b57f9f7a10ad3beb715.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);
}