chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180802b
)
Oops - missed a bit in the GTK front end :-)
author
Simon Tatham
<anakin@pobox.com>
Tue, 11 May 2004 17:45:45 +0000
(17:45 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Tue, 11 May 2004 17:45:45 +0000
(17:45 +0000)
[originally from svn r4208]
gtk.c
patch
|
blob
|
history
diff --git
a/gtk.c
b/gtk.c
index 3e7fe4db44f2a18ded342a15b58ed7fbfa889e92..6a987262e3d0959ac205c68b29c6dafeee593cca 100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-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)