Re: [PATCH v6 weston 19/19] input: Don't test keyboard/pointer/touch pointers

2015-07-14 Thread Derek Foreman
Snipped a lot of context this time... any snipped review I've already incorporated into the next patch set. On 01/07/15 03:56 AM, Jonas Ådahl wrote: > On Wed, Jun 03, 2015 at 03:53:38PM -0500, Derek Foreman wrote: >> Keyboards and pointers aren't freed when devices are removed, so we should >> rea

Re: [PATCH v6 weston 19/19] input: Don't test keyboard/pointer/touch pointers

2015-07-01 Thread Jonas Ådahl
On Wed, Jun 03, 2015 at 03:53:38PM -0500, Derek Foreman 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 different > behaviour aft

[PATCH v6 weston 19/19] input: Don't test keyboard/pointer/touch pointers

2015-06-03 Thread Derek Foreman
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 r