aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-11-02 02:26:39 +0000
committernyamatongwe <unknown>2001-11-02 02:26:39 +0000
commitdf0bc9f5d5cf95f827379112f67f747631225509 (patch)
tree355e1f088d993f0bda4450b990197f8dde7ee31f
parent3227f99df087f74089367e08b072f0f50fd172c6 (diff)
downloadscintilla-mirror-df0bc9f5d5cf95f827379112f67f747631225509.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;
}