Oops - missed a bit in the GTK front end :-)

[originally from svn r4208]
This commit is contained in:
Simon Tatham
2004-05-11 17:45:45 +00:00
parent 180802b362
commit a8a50014e9

3
gtk.c
View File

@ -313,9 +313,6 @@ static gint motion_event(GtkWidget *widget, GdkEventMotion *event,
if (!fe->pixmap)
return TRUE;
if (event->type != GDK_BUTTON_PRESS && event->type != GDK_BUTTON_RELEASE)
return TRUE;
if (event->state & (GDK_BUTTON2_MASK | GDK_SHIFT_MASK))
button = MIDDLE_DRAG;
else if (event->state & GDK_BUTTON1_MASK)