Re: [PATCH weston 05/11] Clients: Don't set the cursor when we have no pointer

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:39PM +1100, Daniel Stone wrote: > Avoids a segfault whenever we get a key event, and try to set the > cursor, dereferencing a NULL input->pointer. Looks good, and I picked it up for 1.0 as well. Kristian > Signed-off-by: Daniel Stone > --- > clients/window.c |

[PATCH weston 05/11] Clients: Don't set the cursor when we have no pointer

2012-11-06 Thread Daniel Stone
Avoids a segfault whenever we get a key event, and try to set the cursor, dereferencing a NULL input->pointer. Signed-off-by: Daniel Stone --- clients/window.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/clients/window.c b/clients/window.c index ddd8bca..288a526 100644 --- a/cli