mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Oops - missed a bit in the GTK front end :-)
[originally from svn r4208]
This commit is contained in:
3
gtk.c
3
gtk.c
@ -313,9 +313,6 @@ static gint motion_event(GtkWidget *widget, GdkEventMotion *event,
|
|||||||
if (!fe->pixmap)
|
if (!fe->pixmap)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (event->type != GDK_BUTTON_PRESS && event->type != GDK_BUTTON_RELEASE)
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
if (event->state & (GDK_BUTTON2_MASK | GDK_SHIFT_MASK))
|
if (event->state & (GDK_BUTTON2_MASK | GDK_SHIFT_MASK))
|
||||||
button = MIDDLE_DRAG;
|
button = MIDDLE_DRAG;
|
||||||
else if (event->state & GDK_BUTTON1_MASK)
|
else if (event->state & GDK_BUTTON1_MASK)
|
||||||
|
Reference in New Issue
Block a user