x11: Add "pointer" to the is-not-a-touchscreen device name checks
Commit 1266d15c4 also broke Xwayland, as it does the same trick than VMWare pointers. Let's extend the heuristic to check for "pointer" in the device name, what can possibly go wrong... https://bugzilla.gnome.org/show_bug.cgi?id=757358
This commit is contained in:
		@ -427,6 +427,7 @@ create_device (GdkDeviceManager *device_manager,
 | 
			
		||||
               strstr (tmp_name, "pen"))
 | 
			
		||||
        input_source = GDK_SOURCE_PEN;
 | 
			
		||||
      else if (!strstr (tmp_name, "mouse") &&
 | 
			
		||||
               !strstr (tmp_name, "pointer") &&
 | 
			
		||||
               has_abs_axes (display, dev->classes, dev->num_classes))
 | 
			
		||||
        input_source = GDK_SOURCE_TOUCHSCREEN;
 | 
			
		||||
      else
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user