Re: [PATCH weston] screen-share: don't test keyboard/pointer pointers

2015-08-05 Thread Derek Foreman
Oops, thanks Reviewed-by: Derek Foreman On 31/07/15 09:46 PM, Dawid Gajownik wrote: > Keyboards and pointers aren't freed when devices are removed, so we > should really be testing keyboard_device_count and pointer_device_count > in most cases, not the actual pointers. Otherwise we end up with >

[PATCH weston] screen-share: don't test keyboard/pointer pointers

2015-07-31 Thread Dawid Gajownik
Keyboards and pointers aren't freed when devices are removed, so we should really be testing keyboard_device_count and pointer_device_count in most cases, not the actual pointers. Otherwise we end up with different behaviour after removing a device than we had before it was inserted. This commit m