[gtk+] Report XInput button motion events until all buttons are released.
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Report XInput button motion events until all buttons are released.
- Date: Tue, 29 Sep 2009 12:46:54 +0000 (UTC)
commit acdecb6aa440eb98066acc4d3c316affbc62a944
Author: Thomas Jaeger <ThJaeger gmail com>
Date: Tue Sep 29 01:56:59 2009 -0400
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
gdk/x11/gdkinput-xfree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkinput-xfree.c b/gdk/x11/gdkinput-xfree.c
index 695175f..4d590ea 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 &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]