summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorThomas Jaeger <ThJaeger@gmail.com>2009-09-29 01:56:59 -0400
committerAlexander Larsson <alexl@redhat.com>2009-09-29 14:44:21 +0200
commitacdecb6aa440eb98066acc4d3c316affbc62a944 (patch)
tree606ff195311dbc82bf4331310a7f43f54b504295 /gdk
parent2635fb75c688b9c44a7db4840afaadba4c6d31b3 (diff)
downloadgtk+-acdecb6aa440eb98066acc4d3c316affbc62a944.tar.gz
Report XInput button motion events until all buttons are released.
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=588649
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkinput-xfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkinput-xfree.c b/gdk/x11/gdkinput-xfree.c
index 695175f61c..4d590ea9cf 100644
--- a/gdk/x11/gdkinput-xfree.c
+++ b/gdk/x11/gdkinput-xfree.c
@@ -284,7 +284,7 @@ _gdk_input_other_event (GdkEvent *event,
if (event->type == GDK_BUTTON_PRESS)
iw->button_down_window = window;
- if (event->type == GDK_BUTTON_RELEASE)
+ if (event->type == GDK_BUTTON_RELEASE && !gdkdev->button_count)
iw->button_down_window = NULL;
if (event->type == GDK_PROXIMITY_OUT &&