Re: [PATCH xserver] Xi: when creating a new master device, update barries for all clients

2016-11-28 Thread Peter Hutterer
On Fri, Nov 11, 2016 at 03:33:26PM +1000, Peter Hutterer wrote: > The previous code only worked when the barrier was created by the same client > as the one calling XIChangeDeviceHierarchy. > > http://bugzilla.redhat.com/show_bug.cgi?id=1384432 > > Signed-off-by: Peter Hutterer ping? anyone up

[PATCH xf86-input-libinput 3/3] Calculate the required scroll distance based on the angle

2016-11-28 Thread Peter Hutterer
For a mouse with a click angle of 15 degrees things are unchanged. For devices with angles less than 10, the current code scrolled way too fast. Because the angle wasn't used anywhere, each tick would count as full scroll wheel event, a slight movement of the wheel would thus scroll as much as a la

[PATCH xf86-input-libinput 1/3] Add a comment regarding scroll dist default values

2016-11-28 Thread Peter Hutterer
Changed this during development because I forgot that the value actually matters (for touchpads anyway). Signed-off-by: Peter Hutterer --- src/xf86libinput.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 747e84b..324b

[PATCH xf86-input-libinput 2/3] Move axis value calculation into a helper function

2016-11-28 Thread Peter Hutterer
The only difference here is the axis number. Signed-off-by: Peter Hutterer --- src/xf86libinput.c | 52 +--- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 324bfc8..7f61e9b 100644 --- a

Re: [RFC xserver 0/3] Allow XWM to control Xwayland commits

2016-11-28 Thread Pekka Paalanen
On Fri, 25 Nov 2016 12:30:18 +0200 Pekka Paalanen wrote: > On Fri, 25 Nov 2016 03:47:56 -0500 (EST) > Olivier Fourdan wrote: > > > Hi Pekka, > > > > > this is probably the first time I'm sending patches for the xserver, so > > > pointing out API misuse, coding style issues etc. would be appr