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
This commit is contained in:
Thomas Jaeger 2009-09-29 01:56:59 -04:00 committed by Alexander Larsson
parent 2635fb75c6
commit acdecb6aa4

View File

@ -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 &&