Re: [PATCH v5 weston 2/2] Support axis source, axis discrete, frame and axis stop events

2016-01-17 Thread Jonas Ådahl
On Mon, Jan 18, 2016 at 04:38:22PM +1000, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer Re-adding my RB to this and v4 of 1/2. Eventually I think it'd be good to introduce a weston_pointer_event that doesn't make it necessary to emit the unnecessary (though harmless) wl_pointer.frame even

[PATCH v5 weston 2/2] Support axis source, axis discrete, frame and axis stop events

2016-01-17 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Changes to v2: - don't send frames after focus events, notify_pointer_focus() takes care of that - add frame events to screen-share clients/eventdemo.c | 57 - clients/window.c | 97 -

[PATCH v4 weston 2/2] Support axis source, axis discrete, frame and axis stop events

2016-01-17 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Changes to v3: - add hunks for rdp and screen-share - compositor-wayland: force frame events to be sent if we won't get them from the parent compositor. clients/eventdemo.c | 57 - clients/window.c | 97 +++

[PATCH v4 weston 1/2] Add a weston_pointer_axis_event

2016-01-17 Thread Peter Hutterer
Use an event struct to pass axis events around. This helps dealing with the upcoming axis discrete changes. --- Changes to v3: - update compositor-rdp for API change - update screen-share for API change desktop-shell/exposay.c| 2 +- desktop-shell/shell.c | 17 ++--- ivi-she

Re: [PATCH v3 weston 2/2] Support axis source, axis discrete, frame and axis stop events

2016-01-17 Thread Peter Hutterer
On Sun, Jan 17, 2016 at 05:59:50PM +0800, Jonas Ådahl wrote: > On Tue, Dec 08, 2015 at 11:15:01AM +1000, Peter Hutterer wrote: > > Signed-off-by: Peter Hutterer > > Took another look at this patch. I noticed a few things. > > First, it doesn't build when screen-share and the RDP backend is > ena

[PATCH weston] compositor-rdp: update link to wheel delta explanation

2016-01-17 Thread Peter Hutterer
The previous one is a 404 now. --- src/compositor-rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 33805c1..1bf744c 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -975,7 +975,7 @@ xf_mouseEvent(rdpInput *in

Re: [PATCH libinput 5/7] tablet: add support for relative x/y motion deltas

2016-01-17 Thread Peter Hutterer
On Fri, Jan 15, 2016 at 12:06:27PM -0800, Bill Spitzak wrote: > Isn't dx_unaccelerated exactly equal to the differences between x values? hah, yes. indeed. that actually means we can drop it from the API since a client can use the mm value instead, they are effectively equivalent (but more useful)

Re: [PATCH v3 weston 2/2] Support axis source, axis discrete, frame and axis stop events

2016-01-17 Thread Jonas Ådahl
On Tue, Dec 08, 2015 at 11:15:01AM +1000, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer Took another look at this patch. I noticed a few things. First, it doesn't build when screen-share and the RDP backend is enabled, because of the API changes in the first patch. The other thing is th