Re: [PATCH weston] input: Destroy the pointer when the last device is unplugged

2015-01-07 Thread Derek Foreman
On 06/01/15 09:25 PM, Jonas Ådahl wrote: > On Tue, Jan 06, 2015 at 07:51:43PM -0600, Derek Foreman wrote: >> Removing the last device that provides a pointer now destroys the >> pointer struct and sets it to NULL (so things like zoom don't use >> the old co-ordinates) > > The fact that the pointer

Re: [PATCH weston] input: Destroy the pointer when the last device is unplugged

2015-01-06 Thread Jonas Ådahl
On Tue, Jan 06, 2015 at 07:51:43PM -0600, Derek Foreman wrote: > Removing the last device that provides a pointer now destroys the > pointer struct and sets it to NULL (so things like zoom don't use > the old co-ordinates) The fact that the pointer is not destroyed was delibaret, as some pointer r

[PATCH weston] input: Destroy the pointer when the last device is unplugged

2015-01-06 Thread Derek Foreman
Removing the last device that provides a pointer now destroys the pointer struct and sets it to NULL (so things like zoom don't use the old co-ordinates) Signed-off-by: Derek Foreman --- src/input.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/input.c b/src/input