Re: Fwd: [PATCH libinput] evdev: Ensure the libevdev object receives the new fd on resume

2014-12-10 Thread Carlos Garnacho
Hey Peter, > > already done, please look at the two patches here > http://lists.freedesktop.org/archives/wayland-devel/2014-December/018916.html Yeah... I only noticed there was a 2/2 patch after I hit send. Thanks for taking care! > had to modify your original patch too with the libevdev sync p

Re: Fwd: [PATCH libinput] evdev: Ensure the libevdev object receives the new fd on resume

2014-12-10 Thread Peter Hutterer
On Wed, Dec 10, 2014 at 01:17:30PM +0100, Carlos Garnacho wrote: > Doh, resending to list from the subscribed account... > > > Hey Peter :), > > On Wed, Dec 10, 2014 at 1:40 AM, Peter Hutterer > wrote: > > > > On Tue, Dec 09, 2014 at 03:55:32PM +0100, Carlos Garnacho wrote: > > > Otherwise, inp

Fwd: [PATCH libinput] evdev: Ensure the libevdev object receives the new fd on resume

2014-12-10 Thread Carlos Garnacho
Doh, resending to list from the subscribed account... Hey Peter :), On Wed, Dec 10, 2014 at 1:40 AM, Peter Hutterer wrote: > > On Tue, Dec 09, 2014 at 03:55:32PM +0100, Carlos Garnacho wrote: > > Otherwise, input_events will be attempted to read from the wrong place, > > which also leaves the r

Re: [PATCH libinput] evdev: Ensure the libevdev object receives the new fd on resume

2014-12-09 Thread Peter Hutterer
On Tue, Dec 09, 2014 at 03:55:32PM +0100, Carlos Garnacho wrote: > Otherwise, input_events will be attempted to read from the wrong place, > which also leaves the right/current fd with pending data to be read, > making the epoll fd wake up constantly. > > Signed-off-by: Carlos Garnacho huh, this

[PATCH libinput] evdev: Ensure the libevdev object receives the new fd on resume

2014-12-09 Thread Carlos Garnacho
Otherwise, input_events will be attempted to read from the wrong place, which also leaves the right/current fd with pending data to be read, making the epoll fd wake up constantly. Signed-off-by: Carlos Garnacho --- src/evdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/evdev.c b