Re: [RFC : xdg_surface_present() - take 2

2015-03-26 Thread Manuel Bachmann
Hi Jasper, Jonas, Pekka, Jason, Just a little update regarding the present() request. As the serial thing seems to be our main concern, aside from the minor protocol change and new functionality we mostly seem to agree on, here are the 2 ways we could do it : 1) modify the protocol, which means :

Re: [RFC PATCH v2 wayland] protocol: add wl_pointer.axis_source, axis_stop and axis_discrete events

2015-03-26 Thread Jonas Ådahl
On Fri, Mar 27, 2015 at 11:04:42AM +1000, Peter Hutterer wrote: > On Wed, Mar 25, 2015 at 09:14:08AM +0800, Jonas Ådahl wrote: > > On Wed, Mar 25, 2015 at 10:27:10AM +1000, Peter Hutterer wrote: > > > The axis_source event determines how an axis event was generated. This > > > enables > > > client

Re: [RFC PATCH v2 wayland] protocol: add wl_pointer.axis_source, axis_stop and axis_discrete events

2015-03-26 Thread Peter Hutterer
On Wed, Mar 25, 2015 at 09:14:08AM +0800, Jonas Ådahl wrote: > On Wed, Mar 25, 2015 at 10:27:10AM +1000, Peter Hutterer wrote: > > The axis_source event determines how an axis event was generated. This > > enables > > clients to judge when to use kinetic scrolling. > > > > The axis_stop event not

Re: [PATCH libinput 2/2] Change vector_get_direction input to a normalized_coords struct

2015-03-26 Thread Peter Hutterer
On Thu, Mar 26, 2015 at 09:57:27AM +0100, Hans de Goede wrote: > Change vector_get_direction input to a normalized_coords type rather then typo, then -> than > passing in a separate x,y pair, and rename it normalized_get_direction to > match. Since it now depends on the normalized_coords type whi

Re: Weston RDP on ARM

2015-03-26 Thread Hardening
Le 26/03/2015 15:45, Heikki Sarkanen a écrit : > Hi, > > I am trying to use the RDP backend on custom Freescale iMX6 based ARM > board where the only supported fbdev-backend is heavily patched: > https://github.com/Freescale/meta-fsl-arm/tree/master/recipes-graphics/wayland/weston. > I am using Yo

Re: Weston RDP on ARM

2015-03-26 Thread Manuel Bachmann
Hi Heikki, Weston-RDP under Tizen uses a specific version of FreeRDP, which is known to work well. It is based upon the following upstream commit ID : 2604ff20bd12e810cfeed735b80dbe90020d781c . I hope this helps. 2015-03-26 15:45 GMT+01:00 Heikki Sarkanen : > Hi, > > I am trying to use the RD

Re: [PATCH weston 0/6] Configuration file control

2015-03-26 Thread Bryce Harrington
On Thu, Mar 26, 2015 at 08:45:21AM +0900, Tanibata, Nobuhiko (ADITJ/SWG) wrote: > > > -Original Message- > > From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] > > On Behalf Of Jonny Lamb > > Sent: Wednesday, March 25, 2015 7:42 PM > > To: Pekka Paalanen; wayland-deve

Weston RDP on ARM

2015-03-26 Thread Heikki Sarkanen
Hi, I am trying to use the RDP backend on custom Freescale iMX6 based ARM board where the only supported fbdev-backend is heavily patched: https://github.com/Freescale/meta-fsl-arm/tree/master/recipes-graphics/wayland/weston. I am using Yocto build system, Weston 1.7 and freerdp version: 3f371b22a

[PATCH libinput v2 0/4] touchpad gestures support

2015-03-26 Thread Hans de Goede
Hi All, Here is v2 of my touchpad gestures support patch series, changes since v1: - Merge the gesture capability flag and event-debug patched into the "touchpad: Add an API for touchpad gesture events" - Update the swipe and pinch/rotate implementations to work with the new typesafe device an

[PATCH libinput v2 3/4] touchpad: Extend the touchpad gesture API with pinch gestures

2015-03-26 Thread Hans de Goede
Extend the touchpad gesture API with pinch gestures. Note that this new API offers a single event stream for both pinch and rotate data, this is deliberate as some applications may be interested in getting both at the same time. Applications which are only interested in one or the other can simply

[PATCH libinput v2 1/4] touchpad: Add an API for touchpad gesture events

2015-03-26 Thread Hans de Goede
For touchscreens we always send raw touch events to the compositor, and the compositor or application toolkits do gesture recognition. This makes sense because on a touchscreen which window / widget the touches are over is important context to know to interpret gestures. On touchpads however we ne

[PATCH libinput v2 4/4] touchpad: Implement pinch gesture support

2015-03-26 Thread Hans de Goede
Implement touchpad pinch (and rotate) gesture support. Note that two two-finger scrolling tests are slightly tweaked to assure that there is enough touch movement to allow the scroll-or-pinch detect code to do its works. Signed-off-by: Hans de Goede --- src/evdev-mt-touchpad-gestures.c | 268 ++

[PATCH libinput v2 2/4] touchpad: Add support for swipe gestures

2015-03-26 Thread Hans de Goede
Add support for swipe gestures. Signed-off-by: Hans de Goede Reviewed-by: Peter Hutterer --- src/evdev-mt-touchpad-gestures.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/src/evdev-mt-touchpad-gestures.c b/src/evdev-mt-touchpad-gestures.c index 7d

[PATCH libinput 2/2] Change vector_get_direction input to a normalized_coords struct

2015-03-26 Thread Hans de Goede
Change vector_get_direction input to a normalized_coords type rather then passing in a separate x,y pair, and rename it normalized_get_direction to match. Since it now depends on the normalized_coords type which gets declared in libinput-private.h also move it to libinput-private.h . Note this com

[PATCH libinput 1/2] Rename delta_coords to device_float_coords

2015-03-26 Thread Hans de Goede
What we really need is not a specific delta type, but a type which can hold non discrete device coordinates, this is e.g. also needed for the center coordinates of gestures. So rename delta_coords to device_float_coords to properly reflect what we really need. Signed-off-by: Hans de Goede --- sr

Re: [PATCH v2 weston] input: Don't recreate the cursor sprite when only the hotspot changes

2015-03-26 Thread Pekka Paalanen
On Mon, 23 Mar 2015 10:55:32 -0500 Derek Foreman wrote: > Currently we unmap and re-map the cursor when the hotspot changes which > causes spurious enter/leave events. > > This changes the pointer_set_cursor() logic to avoid this. > > Signed-off-by: Derek Foreman > --- > > Remove comments and

Re: [PATCH weston 00/10] platform_base cleanups and review reply

2015-03-26 Thread Pekka Paalanen
On Tue, 24 Mar 2015 15:33:59 +0200 Pekka Paalanen wrote: > On Tue, 24 Mar 2015 13:11:59 +0100 > Jonny Lamb wrote: > > > In reply to Pekka's late review, I've written some more patches to > > address his comments: > > > > Jonny Lamb (10): > > compositor-{drm,x11,wayland}: stop including EGL h