[PATCH 1/4] dix: don't call ProcessInputEvents() when accepting/rejecting touches
Peter Hutterer
peter.hutterer at who-t.net
Sun Dec 2 22:32:50 PST 2012
On Mon, Nov 26, 2012 at 04:12:32PM +1000, Peter Hutterer wrote:
> TouchListenerAcceptReject may be called during normal event processing, but
> ProcessInputEvents is not reentrant and calling it here smashes the event
> queue.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
ping, any takers?
> dix/touch.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/dix/touch.c b/dix/touch.c
> index 9c2b8f3..8db4638 100644
> --- a/dix/touch.c
> +++ b/dix/touch.c
> @@ -988,8 +988,6 @@ TouchListenerAcceptReject(DeviceIntPtr dev, TouchPointInfoPtr ti, int listener,
> for (i = 0; i < nev; i++)
> mieqProcessDeviceEvent(dev, events + i, NULL);
>
> - ProcessInputEvents();
> -
> FreeEventList(events, GetMaximumEventsNum());
>
> return nev ? Success : BadMatch;
> --
> 1.7.11.7
>
More information about the xorg-devel
mailing list