gdk: Don't change window_under_pointer for pure touch events
Only touch events that emulate the pointer do change it.
This commit is contained in:
		 Carlos Garnacho
					Carlos Garnacho
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							2ccf29f6b3
						
					
				
				
					commit
					b5de12debd
				
			| @ -9301,7 +9301,9 @@ proxy_pointer_event (GdkDisplay                 *display, | |||||||
|       return TRUE; |       return TRUE; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   if (pointer_info->window_under_pointer != pointer_window) |   if ((source_event->type != GDK_TOUCH_UPDATE || | ||||||
|  |        _gdk_event_get_pointer_emulated (source_event)) && | ||||||
|  |       pointer_info->window_under_pointer != pointer_window) | ||||||
|     { |     { | ||||||
|       /* Either a toplevel crossing notify that ended up inside a child window, |       /* Either a toplevel crossing notify that ended up inside a child window, | ||||||
| 	 or a motion notify that got into another child window  */ | 	 or a motion notify that got into another child window  */ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user