Re: [PATCH weston] input: pass the global touch coordinates to the touch grab

2015-07-08 Thread Daniel Stone
Hi, On 8 July 2015 at 09:55, Giulio Camuffo wrote: > @@ -1552,10 +1558,7 @@ notify_touch(struct weston_seat *seat, uint32_t time, > int touch_id, > if (touch->num_tp == 1) { > ev = weston_compositor_pick_view(ec, x, y, &sx, &sy); >

[PATCH weston] input: pass the global touch coordinates to the touch grab

2015-07-08 Thread Giulio Camuffo
This makes it consistent with the pointer grab, which also gets global coordinates and not surface relative ones, and allows to easily filter out gestures based on compositor global hotspots. --- desktop-shell/shell.c | 14 ++ src/data-device.c | 2 +- src/input.c | 20 +