aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-06-29 03:55:53 +0000
committernyamatongwe <devnull@localhost>2007-06-29 03:55:53 +0000
commit1a637f4381e4fb9424726c812348d652522d5e47 (patch)
tree81b0e14f6f5d707d61638418bd9472f421c85114 /src
parentfc23a10d8292042571f6a292d6fc4bff73f1d0ab (diff)
downloadscintilla-mirror-1a637f4381e4fb9424726c812348d652522d5e47.tar.gz
Removed OS X specific WaitMouseMoved call since the generic code no longer
starts a drag unless the mouse moves.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 51c79bc15..b7fa63e22 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5102,14 +5102,6 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b
else
inDragDrop = ddNone;
}
-#ifdef __APPLE__
- // we need to additionaly check if the mouse moved before we
- // decide that we can in fact start a drag session. Currently
- // only OSX will return anything but true.
- if (inDragDrop == ddInitial && !Platform::WaitMouseMoved(pt)) {
- inDragDrop = ddNone;
- }
-#endif
SetMouseCapture(true);
if (inDragDrop != ddInitial) {
SetDragPosition(invalidPosition);