Re: [PATCH weston v2] input: allow to destroy bindings in their handler

2014-11-05 Thread Pekka Paalanen
On Fri, 3 Oct 2014 23:36:34 +0300 Giulio Camuffo wrote: > use wl_list_for_each_safe to iterate on the bindings list when > firing them, this way a binding can safely be destroyed in its > function handler. > --- > src/bindings.c | 24 > 1 file changed, 12 insertions(+),

[PATCH weston v2] input: allow to destroy bindings in their handler

2014-10-03 Thread Giulio Camuffo
use wl_list_for_each_safe to iterate on the bindings list when firing them, this way a binding can safely be destroyed in its function handler. --- src/bindings.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/bindings.c b/src/bindings.c index 7d