shithub: puzzles

Download patch

ref: a8a50014e943e052c6a7e12227833f639e672f73
parent: 180802b362c715dfb22893021f3434834447e5b5
author: Simon Tatham <anakin@pobox.com>
date: Tue May 11 13:45:45 EDT 2004

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

[originally from svn r4208]

--- a/gtk.c
+++ b/gtk.c
@@ -313,9 +313,6 @@
     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)