Re: [PATCH weston] input: when destroying a seat, remove keyboard focus first

2015-08-07 Thread Bryce Harrington
On Fri, Aug 07, 2015 at 09:19:44AM +0900, Ryo Munakata wrote: > > This annoys me when using Valgrind. > > Reviewed-by: Ryo Munakata > > Thank you. Makes sense. Pushed to trunk: To ssh://git.freedesktop.org/git/wayland/weston 74a635b..87c862a master -> master Btw, are there changes that c

Re: [PATCH weston] input: when destroying a seat, remove keyboard focus first

2015-08-06 Thread Ryo Munakata
This annoys me when using Valgrind. Reviewed-by: Ryo Munakata Thank you. On Thu, 6 Aug 2015 12:19:51 -0500 Derek Foreman wrote: > If we destroy all the devices before trying to remove keyboard focus > we'll segfault because we destroyed the keyboard. > > Signed-off-by: Derek Foreman > ---

[PATCH weston] input: when destroying a seat, remove keyboard focus first

2015-08-06 Thread Derek Foreman
If we destroy all the devices before trying to remove keyboard focus we'll segfault because we destroyed the keyboard. Signed-off-by: Derek Foreman --- src/libinput-seat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libinput-seat.c b/src/libinput-seat.c index e6d44b