gdk: do not send leave event on touchpad button release
This is along the changes introduced in
bd55519f7e,
A TOUCHPAD device behaves like a mouse"
https://bugzilla.gnome.org/show_bug.cgi?id=674549
This commit is contained in:
committed by
Matthias Clasen
parent
a68d903b1a
commit
e5246cabb6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user