From df0bc9f5d5cf95f827379112f67f747631225509 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 2 Nov 2001 02:26:39 +0000 Subject: ButtonMove called even when mouse button not down to ensure cursor changes over margins and selection. --- gtk/ScintillaGTK.cxx | 8 ++------ 1 file 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; } -- cgit v1.2.3