There are limits on which client may select for touch events on a given window, with restrictions being that no two clients can select on the same device, but narrower selections are allowed, i.e. if one client has XIAllDevices, a second client may still select for device X. The current code had a dependency on which client selected first and which device, resulting in inconsistencies when selecting for events. Fix that, responding with the right errors regardless of who selected what first. X.Org Bug 57301 <http://bugs.freedesktop.org/show_bug.cgi?id=57301> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
11 KiB
11 KiB