From 753cac019e70eb345fd9d7445f5ed3d3adc146c4 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Sat, 15 Dec 2012 03:23:12 +0200 Subject: [mouse] Don't switch mouse buttons for XTest devices Fix fake events generated by applications being the wrong button. https://bugzilla.gnome.org/show_bug.cgi?id=627084 --- plugins/mouse/msd-mouse-manager.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mouse') diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c index 3e6381a..fe89da2 100644 --- a/plugins/mouse/msd-mouse-manager.c +++ b/plugins/mouse/msd-mouse-manager.c @@ -320,6 +320,7 @@ set_xinput_devices_left_handed (gboolean left_handed) if ((device_info[i].use == IsXPointer) || (device_info[i].use == IsXKeyboard) || + (g_strcmp0 ("Virtual core XTEST pointer", device_info[i].name) == 0) || (!xinput_device_has_buttons (&device_info[i]))) continue; -- cgit v1.2.1