[gtk+] gdk: do not send leave event on touchpad button release
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: do not send leave event on touchpad button release
- Date: Sat, 5 May 2012 18:39:01 +0000 (UTC)
commit 4884a7c1af3a6699b70a639248689519fb76201f
Author: Marc-Andrà Lureau <marcandre lureau redhat com>
Date: Thu May 3 18:15:48 2012 +0200
gdk: do not send leave event on touchpad button release
This is along the changes introduced in
bd55519f7e6bb5da2fdf6f5e99bd79213059f81b,
A TOUCHPAD device behaves like a mouse"
https://bugzilla.gnome.org/show_bug.cgi?id=674549
gdk/gdkdisplay.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index f12cd97..60bbb44 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -970,8 +970,7 @@ switch_to_pointer_grab (GdkDisplay *display,
* synthesized when needed.
*/
if (source_device &&
- (gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN ||
- gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHPAD))
+ (gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN))
info->need_touch_press_enter = TRUE;
pointer_window = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]