Re: [PATCH] dix: Fix loop termination

2011-01-20 Thread Adam Jackson
On Jan 20, 2011, at 12:01 PM, Pauli wrote: > From: Pauli Nieminen > > Handler pointer is set to NULL when it was deleted while inside handler > calls. Too bad deletion loop tried to find first not NULL pointer which > incorrectly removed wrong handlers from the list. > > That resulted to NULL p

[PATCH] dix: Fix loop termination

2011-01-20 Thread Pauli
From: Pauli Nieminen Handler pointer is set to NULL when it was deleted while inside handler calls. Too bad deletion loop tried to find first not NULL pointer which incorrectly removed wrong handlers from the list. That resulted to NULL pointer call when sending syntetic mouse events with delay.