aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-11-02 02:26:39 +0000
committernyamatongwe <devnull@localhost>2001-11-02 02:26:39 +0000
commit382c2cee64e4c82f1169e190409a131200dba36b (patch)
tree355e1f088d993f0bda4450b990197f8dde7ee31f
parent3b5b4e51d7e4ed8f98be22131f2cc50fb2ba0f30 (diff)
downloadscintilla-mirror-382c2cee64e4c82f1169e190409a131200dba36b.tar.gz
ButtonMove called even when mouse button not down to ensure cursor changes
over margins and selection.
-rw-r--r--gtk/ScintillaGTK.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 118b84a7d..13271bcd7 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1231,12 +1231,8 @@ gint ScintillaGTK::Motion(GtkWidget *widget, GdkEventMotion *event) {
}
//Platform::DebugPrintf("Move %x %x %d %c %d %d\n",
// sciThis,event->window,event->time,event->is_hint? 'h' :'.', x, y);
- if (state & GDK_BUTTON1_MASK) {
- Point pt;
- pt.x = x;
- pt.y = y;
- sciThis->ButtonMove(pt);
- }
+ Point pt(x, y);
+ sciThis->ButtonMove(pt);
return FALSE;
}