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:
		 Marc-André Lureau
					Marc-André Lureau
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							321d06117f
						
					
				
				
					commit
					4884a7c1af
				
			| @ -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