Commit acdecb6a authored by Thomas Jaeger's avatar Thomas Jaeger Committed by Alexander Larsson

Report XInput button motion events until all buttons are released.

Signed-off-by: default avatarThomas Jaeger <ThJaeger@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=588649
parent 2635fb75
......@@ -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 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment