Core events aren't generated for slave devices, so this is just wrong. On top of that, the mask being checked in the removed hunk is wrong as well. It is dereferencing a pointer of type OtherClients as though it were a pointer to type InputClients.
Signed-off-by: Chase Douglas <[email protected]> --- dix/touch.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/dix/touch.c b/dix/touch.c index 0829b65..fcec916 100644 --- a/dix/touch.c +++ b/dix/touch.c @@ -830,18 +830,6 @@ TouchAddRegularListener(DeviceIntPtr dev, TouchPointInfoPtr ti, win); return TRUE; } - - /* all others */ - nt_list_for_each_entry(iclients, (InputClients *) wOtherClients(win), - next) { - if (!(iclients->mask[XIAllDevices] & core_filter)) - continue; - - TouchEventHistoryAllocate(ti); - TouchAddListener(ti, iclients->resource, CORE, - type, LISTENER_AWAITING_BEGIN, win); - return TRUE; - } } return FALSE; -- 1.7.9.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
