Re: [PATCH libinput 1/2] Add seat wide slot to touch events

2014-02-19 Thread Peter Hutterer
On Thu, Feb 20, 2014 at 08:39:08AM +0100, Jonas Ådahl wrote: > On Thu, Feb 20, 2014 at 02:53:18PM +1000, Peter Hutterer wrote: > > On Wed, Feb 19, 2014 at 10:04:10PM +0100, Jonas Ådahl wrote: > > > Since a Wayland compositor have to represent all touch devices of a seat > > > as one virtual device,

Re: [PATCH libinput 1/2] Add seat wide slot to touch events

2014-02-19 Thread Jonas Ådahl
On Thu, Feb 20, 2014 at 02:53:18PM +1000, Peter Hutterer wrote: > On Wed, Feb 19, 2014 at 10:04:10PM +0100, Jonas Ådahl wrote: > > Since a Wayland compositor have to represent all touch devices of a seat > > as one virtual device, lets make that easier by also providing seat wide > > slots with tou

Re: [PATCH libinput 1/2] Add seat wide slot to touch events

2014-02-19 Thread Peter Hutterer
On Wed, Feb 19, 2014 at 10:04:10PM +0100, Jonas Ådahl wrote: > Since a Wayland compositor have to represent all touch devices of a seat > as one virtual device, lets make that easier by also providing seat wide > slots with touch events. > > Seat wide slots may be accessed using > libinput_event_t

[PATCH libinput 1/2] Add seat wide slot to touch events

2014-02-19 Thread Jonas Ådahl
Since a Wayland compositor have to represent all touch devices of a seat as one virtual device, lets make that easier by also providing seat wide slots with touch events. Seat wide slots may be accessed using libinput_event_touch_get_seat_slot(). Signed-off-by: Jonas Ådahl --- src/evdev.c