Re: [PATCH libinput 04/11] touchpad: Change how we deal with scroll methods

2015-02-19 Thread Hans de Goede
Hi, On 19-02-15 10:50, Peter Hutterer wrote: On Wed, Feb 18, 2015 at 01:26:47PM +0100, Hans de Goede wrote: With the upcoming gesture support 2fg scrolling will be handled as part of the main gesture state machine, where as edge scrolling has its own state typo: whereas Fixed in my personal

Re: [RFC libinput 1/2] Add a "buttonset" interface for button-only devices

2015-02-19 Thread Peter Hutterer
On Thu, Feb 19, 2015 at 12:35:52PM +0100, Carlos Garnacho wrote: > Hey :), > > On Thu, Feb 19, 2015 at 2:29 AM, Peter Hutterer > wrote: > > On Wed, Feb 18, 2015 at 11:52:18PM +0100, Carlos Garnacho wrote: > >> I'm not sure left/right specifically is something we want to tell > >> about at this le

Re: [RFC libinput 1/2] Add a "buttonset" interface for button-only devices

2015-02-19 Thread Jason Gerecke
On Wed, Feb 18, 2015 at 5:29 PM, Peter Hutterer wrote: > On Wed, Feb 18, 2015 at 01:57:17PM -0800, Jason Gerecke wrote: >> >> On 2/16/2015 9:11 PM, Peter Hutterer wrote: >> >On Mon, Feb 16, 2015 at 08:13:01AM +0100, Hans de Goede wrote: >> >>Hi, >> >> >> >>On 16-02-15 04:50, Peter Hutterer wrote:

RE: [PATCH weston 5/7] gl-renderer: add BUFFER_TYPE_SOLID

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 5/7] gl-renderer: add BUFFER_TYPE

RE: [PATCH weston 7/7] pixman-renderer: implement surface_copy_content

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 7/7] pixman-renderer: implement >

RE: [PATCH weston 4/7] surface-screenshot: a new manual test module

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 4/7] surface-screenshot: a new ma

RE: [PATCH weston 6/7] gl-renderer: implement surface_copy_content

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 6/7] gl-renderer: implement surfa

RE: [PATCH weston 3/7] timeline: use file_create_dated() helper

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 3/7] timeline: use file_create_d

RE: [PATCH weston 2/7] shared: add file_create_dated() helper

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 2/7] shared: add file_create_da

Re: [PATCH libinput 00/15] tablet: support the remaining tools

2015-02-19 Thread Peter Hutterer
On Thu, Feb 19, 2015 at 05:35:38PM -0800, Jason Gerecke wrote: > > On 2/17/2015 9:45 PM, Peter Hutterer wrote: > >This patchset adds the remaining tools to the tablet branch (at least for > >Wacom tools). The notable additions are: > >* rotation support for mouse/lens cursor > >* rotation support

Re: [PATCH libinput 00/15] tablet: support the remaining tools

2015-02-19 Thread Jason Gerecke
On 2/17/2015 9:45 PM, Peter Hutterer wrote: This patchset adds the remaining tools to the tablet branch (at least for Wacom tools). The notable additions are: * rotation support for mouse/lens cursor * rotation support for the artpen * 'wheel' support for the airbrush * correct per-tool capabili

Re: [PATCH libinput 01/11] Add an API for touchpad gesture events

2015-02-19 Thread Peter Hutterer
On Thu, Feb 19, 2015 at 01:15:31PM -0800, Bill Spitzak wrote: > I think I'm not explaining my question right. > > I fully think it is correct for libinput to do gesture recognition. > > My question is why you think this should not be done for touch screens. > > I think it should be done for them

RE: [PATCH weston 1/7] compositor: add surface-shooting API

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 1/7] compositor: add surface-sho

Re: [PATCH libinput 04/11] touchpad: Change how we deal with scroll methods

2015-02-19 Thread Peter Hutterer
On Wed, Feb 18, 2015 at 01:26:47PM +0100, Hans de Goede wrote: > With the upcoming gesture support 2fg scrolling will be handled as part of > the main gesture state machine, where as edge scrolling has its own state typo: whereas Cheers, Peter > machine, our current way of dispatching scroll

Re: [PATCH libinput 01/11] Add an API for touchpad gesture events

2015-02-19 Thread Bill Spitzak
I think I'm not explaining my question right. I fully think it is correct for libinput to do gesture recognition. My question is why you think this should not be done for touch screens. I think it should be done for them, and for every other input device in the world (including mundane things

Weston broken on recent Arch Linux

2015-02-19 Thread Anthony Carrico
As discussed in #wayland on freenode... Recently, Weston won't start for some arch users. People who followed the advice here: https://wiki.archlinux.org/index.php/Wayland should fix ~/.config/weston.ini by removing desktop-shell.so from core modules: [core] modules=xwayland.so #modules=deskt

Re: [PATCH libinput] test: fix Coverity complaints

2015-02-19 Thread Hans de Goede
Hi, On 18-02-15 22:28, Peter Hutterer wrote: seat_button_count seat_key_count ... uninitialized variable t = zalloc s = zalloc ... dereferencing potential NULL-pointer d->ntouches_down... side-effect in assertion Coverity run against the 0.10.0 tag, see https://scan.coverity.com/projects/42

Re: [PATCH weston 3/5] compositor: refactor to weston_output_schedule_repaint_reset()

2015-02-19 Thread Pekka Paalanen
On Thu, 12 Feb 2015 15:30:15 +0200 Pekka Paalanen wrote: > From: Pekka Paalanen > > No functional changes. > > Signed-off-by: Pekka Paalanen > --- > src/compositor.c | 35 ++- > 1 file changed, 22 insertions(+), 13 deletions(-) The first three patches pushed

[RFC weston] compositor: note, weston_surface_damage does it wrong

2015-02-19 Thread Pekka Paalanen
From: Pekka Paalanen The fix is not trivial, so I want to document the problem before I forget about it again. Signed-off-by: Pekka Paalanen Cc: Jason Ekstrand --- src/compositor.c | 10 ++ src/compositor.h | 3 +++ 2 files changed, 13 insertions(+) diff --git a/src/compositor.c b/s

Re: [RFC libinput 1/2] Add a "buttonset" interface for button-only devices

2015-02-19 Thread Carlos Garnacho
Hey :), On Thu, Feb 19, 2015 at 2:29 AM, Peter Hutterer wrote: > On Wed, Feb 18, 2015 at 11:52:18PM +0100, Carlos Garnacho wrote: >> I'm not sure left/right specifically is something we want to tell >> about at this level. With tablet support in mind, I would expect a >> left-handed mode for butt

Re: [PATCH libinput] test: fix Coverity complaints

2015-02-19 Thread Carlos Olmedo Escobar
Hi, Even though I'm quite unknown in this list, this patch is so trivial that I guess I can give you my: Reviewed-by: Carlos Olmedo Escobar 2015-02-18 22:28 GMT+01:00, Peter Hutterer : > seat_button_count > seat_key_count ... uninitialized variable > > t = zalloc > s = zalloc ... dereferencing

RE: weston rdp crash on arm

2015-02-19 Thread Raphael Cotty
Hi, I found the reason of the crash: FreeRDP I upgraded to the latest master version (3f371b22ad67033c366e41f459747796a95633b8) and it works. I also tried branch stable-1.1 but I had this compilation issue: Top CMakeLists.txt includes CMakeDetermineSystem which doesn't work in a cross-dev envir

[PATCH weston 1/3] compositor: add a doc note for weston_view::parent_view

2015-02-19 Thread Pekka Paalanen
From: Pekka Paalanen It is used by sub-surfaces only, for fetching the root view's weston_layer. Signed-off-by: Pekka Paalanen --- src/compositor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor.h b/src/compositor.h index 47b6036..a90ede6 100644 --- a/src/compositor.h +++

[PATCH weston 2/3] compositor: turn weston_view::transform.opaque into masked

2015-02-19 Thread Pekka Paalanen
From: Pekka Paalanen Turns out there were no users of weston_view::transform.opaque, everything was already using transform.masked_opaque. Therefore repurpose transform.opaque as masked_opaque, and remove masked_opaque member. Now this opaque region in global coordinates is clipped by the layer

[PATCH weston 3/3] compositor: turn weston_view boundingbox into masked

2015-02-19 Thread Pekka Paalanen
From: Pekka Paalanen weston_view::transform.boundingbox is made to include the layer mask, which removes the need for masked_boundingbox. The following were using boundingbox when they should have used masked_boundingbox: - drm_output_prepare_overlay_view() uses boundingbox to compute overlay

Re: [PATCH libinput 01/11] Add an API for touchpad gesture events

2015-02-19 Thread Peter Hutterer
On Wed, Feb 18, 2015 at 11:36:18AM -0800, Bill Spitzak wrote: > > > On 02/18/2015 04:26 AM, Hans de Goede wrote: > >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 touchscree