On Mon, Jul 08, 2013 at 04:15:07PM +0200, Giulio Camuffo wrote:
> There is not much else to say. surfaces created with weston_surface_create
> have
> a NULL resource, and if that gets picked by default_grab_focus (in input.c)
> the next
> seat_get_pointer will break.
>
> I guess another solution c
On Mon, Jul 8, 2013 at 9:52 AM, Rob Bradford wrote:
> On 8 July 2013 15:15, Giulio Camuffo wrote:
>
> Hi Giulio,
>
> > There is not much else to say. surfaces created with
> weston_surface_create
> > have
> > a NULL resource, and if that gets picked by default_grab_focus (in
> input.c)
> > the ne
On 8 July 2013 15:15, Giulio Camuffo wrote:
Hi Giulio,
> There is not much else to say. surfaces created with weston_surface_create
> have
> a NULL resource, and if that gets picked by default_grab_focus (in input.c)
> the next
> seat_get_pointer will break.
I guess my point is that I wanted yo
There is not much else to say. surfaces created with weston_surface_create
have
a NULL resource, and if that gets picked by default_grab_focus (in input.c)
the next
seat_get_pointer will break.
I guess another solution could be to make weston_compositor_pick_surface not
pick surfaces without a val
Can you provide some more explanation in your commit message about why
the pointer might have a surface focussed but that surface does not
have a valid resource. (I'm wondering if this is fixing the symptom of
a problem elsewhere.)
Rob
On 7 July 2013 16:38, Giulio Camuffo wrote:
> seat->pointer-
Looks good to me.
--Jason Ekstrand
On Jul 7, 2013 10:41 AM, "Giulio Camuffo" wrote:
> seat->pointer->focus->resource can be NULL, if the surface was
> created with weston_surface_create.
> ---
> src/input.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/input.c b/sr
seat->pointer->focus->resource can be NULL, if the surface was
created with weston_surface_create.
---
src/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input.c b/src/input.c
index 644487a..a7a37e5 100644
--- a/src/input.c
+++ b/src/input.c
@@ -1181,7 +1181,7 @@ s