On Mon, Feb 01, 2016 at 02:38:41PM +0100, Marek Chalupa wrote:
> I ran into the same issue with gtk3-demo.
> When the popup was being destroyed, the focus was set to 0x0 and I got
> sigsegv, because popup grab tried to sent the frame.
> 
> Reviewed-by: Marek Chalupa <[email protected]>

Pushed to master, thanks.

   1abf5e4..8efa31b  master -> master


Jonas

> 
> Regards,
> Marek
> 
> 
> On 01/29/2016 05:29 PM, Derek Foreman wrote:
> >Prevents a segfault when mousing into clients that don't get_pointer
> >like weston-simple-shm and weston-simple-damage.
> >
> >Signed-off-by: Derek Foreman <[email protected]>
> >---
> >  src/input.c | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> >diff --git a/src/input.c b/src/input.c
> >index 91813ec..2539fa7 100644
> >--- a/src/input.c
> >+++ b/src/input.c
> >@@ -390,6 +390,9 @@ weston_pointer_send_frame(struct weston_pointer *pointer)
> >     struct wl_resource *resource;
> >     struct wl_list *resource_list;
> >
> >+    if (!pointer->focus_client)
> >+            return;
> >+
> >     resource_list = &pointer->focus_client->pointer_resources;
> >     wl_resource_for_each(resource, resource_list)
> >             pointer_send_frame(resource);
> >
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to