GNOME Bugzilla – Bug 649214
deal with non-attached master devices
Last modified: 2011-05-03 16:18:20 UTC
If you call xinput create-master foo, g-s-d crashes. Original report: https://bugzilla.redhat.com/show_bug.cgi?id=700519 Looking at the code, it crashes inside device_is_touchpad() because open_gdk_device() returns NULL in this case. set_left_handed() already has a NULL check after open_gdk_device(). Looks like all other callers need the same treatment.
Created attachment 187072 [details] [review] patch
Pushed in gnome-3-0 and master