[PATCH v2 weston 2/2] Support the new wheel tilt axis source

2017-01-17 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Changes to v1: - add handling for wheel-tilt-since clients/eventdemo.c | 3 +++ libweston/input.c | 16 +++- libweston/libinput-device.c | 7 ++- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/clients/eventde

[PATCH v2 weston 1/2] clients: hook up touch shape/orientation

2017-01-17 Thread Peter Hutterer
This is merely the client implementation, the compositor one is missing. libinput does not yet forward any additional shape implementation for touch points, so right now we cannot hook up the compositor-side bits. Signed-off-by: Peter Hutterer --- Changes to v1: - new in this series I tested thi

[PATCH weston] clients: fix errno handling

2017-01-17 Thread Peter Hutterer
clients/editor.c: In function ‘read_file’: clients/editor.c:1578:16: warning: logical ‘or’ applied to non-boolean constant [-Wlogical-op] errno = errsv || EINVAL; This works in the shell, but not in C. Introduced in 411ffabbb56b Signed-off-by: Peter Hutterer --- clients/editor.c | 3 ++- 1 fi

Re: [PATCH] Fix typos in Documentation

2017-01-17 Thread Peter Hutterer
On Wed, Jan 18, 2017 at 01:11:22AM +0530, Rohith Mukku wrote: > Signed-off-by: Rohith Mukku thanks, pushed as 5dcb949..393a7ff master -> master Cheers, Peter > --- > src/libinput.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/libinput.h b/src/l

[PATCH] protocol: Add gaming input protocol

2017-01-17 Thread Jingkui Wang
Gaming input protocol works as an extension to support gaming devices. Currently, it only supports game pad. Gamepad protocol complies W3C Gamepad API at: https://w3c.github.io/gamepad/#remapping Signed-off-by: Dennis Kempin Signed-off-by: Jingkui Wang --- Makefile.am

Re: [PATCH] Fix typos in Documentation

2017-01-17 Thread Yong Bakos
Hi Rohith, > On Jan 17, 2017, at 11:41 AM, Rohith Mukku wrote: > > Signed-off-by: Rohith Mukku These spelling and grammar changes in comment blocks are Reviewed-by: Yong Bakos yong > --- > src/libinput.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/l

[PATCH weston] compositor-rdp: Fix build with freerdp2

2017-01-17 Thread Emilio Pozuelo Monfort
Based on a patch from John Moser https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850658 Signed-off-by: Emilio Pozuelo Monfort --- libweston/compositor-rdp.c | 8 1 file changed, 8 insertions(+) diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c index 223382ce..94b

[PATCH] Fix typos in Documentation

2017-01-17 Thread Rohith Mukku
Signed-off-by: Rohith Mukku --- src/libinput.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libinput.h b/src/libinput.h index 8c9cf9a..86bfeaf 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -307,7 +307,7 @@ enum libinput_tablet_pad_strip_axis_source { * w

Re: [PATCH weston v2 0/5] libweston common modules preparation

2017-01-17 Thread Quentin Glidic
On 17/01/2017 13:02, Daniel Stone wrote: Hi Quentin, On 18 December 2016 at 13:26, Quentin Glidic wrote: Here is the second take at my common modules series, or rather at the preparation work. The real feature will come in a second series, with README update, and a complete design explanati

Re: [PATCH weston] xwm: fix intermittent half-drawn decorations problem

2017-01-17 Thread Emmanuel Gil Peyrot
Hi, On Tue, Jan 17, 2017 at 05:33:20PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > To reproduce the problem: > - start weston (x11 backend worked, glamor in Xwayland makes no > difference) > - start xterm > - very very slowly move the pointer in the xterm decorations onto or > aw

Re: [PATCH weston 2/2] Makefile.am: Link modules to libweston.la

2017-01-17 Thread Quentin Glidic
On 17/01/2017 12:54, Daniel Stone wrote: Hi, On 21 November 2016 at 11:07, Jan Engelhardt wrote: On Monday 2016-11-21 12:00, Daniel Stone wrote: COMPOSITOR_LIBS is full of -Lfoo -lsyslib. To the best of my knowledge, these belong in LDADD Negative. _LDADD is ignored for library type outputs

Re: [PATCH v2] compositor-drm: allow mode frequency selection

2017-01-17 Thread Daniel Stone
Hi Fabien, On 17 January 2017 at 16:17, Fabien Dessenne wrote: > As an option, allow to specify a mode (from the configuration file) by > its refresh rate. > Example of valid syntax: > - "mode=1920x1080"Select a 1920x1080 mode, refresh rate undefined. > - "mode=1920x1080@60" Select the (or on

[PATCH v2] compositor-drm: allow mode frequency selection

2017-01-17 Thread Fabien Dessenne
As an option, allow to specify a mode (from the configuration file) by its refresh rate. Example of valid syntax: - "mode=1920x1080"Select a 1920x1080 mode, refresh rate undefined. - "mode=1920x1080@60" Select the (or one of the) 1920x1080 60 Hz mode. Signed-off-by: Fabien Dessenne Reviewed-b

Re: [PATCH weston v2 00/24] Initial Xwayland window positioning, with XWM reordering

2017-01-17 Thread Daniel Stone
Hi Pekka, On 17 January 2017 at 15:22, Pekka Paalanen wrote: > You can see the state of the current series at: > https://patchwork.freedesktop.org/series/17096/ > > And I have a rebased branch at: > https://git.collabora.com/cgit/user/pq/weston.git/log/?h=xwm-reorder-WIP > > In the branch I have

Re: [PATCH weston] xwm: fix intermittent half-drawn decorations problem

2017-01-17 Thread Daniel Stone
Hi, On 17 January 2017 at 15:33, Pekka Paalanen wrote: > To reproduce the problem: > - start weston (x11 backend worked, glamor in Xwayland makes no > difference) > - start xterm > - very very slowly move the pointer in the xterm decorations onto or > away from a button > - the moment the dec

[PATCH weston] xwm: fix intermittent half-drawn decorations problem

2017-01-17 Thread Pekka Paalanen
From: Pekka Paalanen To reproduce the problem: - start weston (x11 backend worked, glamor in Xwayland makes no difference) - start xterm - very very slowly move the pointer in the xterm decorations onto or away from a button - the moment the decorations are updated, they will appear incomplet

Re: [PATCH weston v2 00/24] Initial Xwayland window positioning, with XWM reordering

2017-01-17 Thread Pekka Paalanen
On Wed, 21 Dec 2016 16:39:58 +0200 Pekka Paalanen wrote: > From: Pekka Paalanen > > Hi all, > > for the history and motivation of this series, please refer to: > https://phabricator.freedesktop.org/T7622 > > Most importantly, you can see the introduction and motivation here: > https://lists.f

[PATCH weston] tests: Remove buffer-count

2017-01-17 Thread Daniel Stone
buffer-count was introduced in line with a Mesa change which forced an earlier block on frame events to try to enforce double-buffering where available. The Mesa change has since been reverted (Mesa commit 9ca6711faa), as this had unpleasant interactions with buffer_age in particular, so this test

Re: [PATCH weston v5] libweston: Position layers in an absolute way

2017-01-17 Thread Pekka Paalanen
On Mon, 16 Jan 2017 14:06:14 + Daniel Stone wrote: > Hi, > > On 17 December 2016 at 12:40, Quentin Glidic > wrote: > > Currently, layers’ order depends on the module loading order and it does > > not survive runtime modifications (like shell locking/unlocking). > > With this patch, modules

Re: [wayland-protocols v3] linux-dmabuf: advertise format modifiers with modifier event

2017-01-17 Thread Varad Gautam
Hi, On Tue, Jan 17, 2017 at 7:40 PM, Pekka Paalanen wrote: > On Mon, 21 Nov 2016 15:47:39 +0530 > Varad Gautam wrote: > >> From: Varad Gautam >> >> advertise the supported fourcc format modifiers along with supported >> formats to the client. >> >> bump zwp_linux_dmabuf_v1, zwp_linux_buffer_par

Re: [wayland-protocols v3] linux-dmabuf: advertise format modifiers with modifier event

2017-01-17 Thread Pekka Paalanen
On Mon, 21 Nov 2016 15:47:39 +0530 Varad Gautam wrote: > From: Varad Gautam > > advertise the supported fourcc format modifiers along with supported > formats to the client. > > bump zwp_linux_dmabuf_v1, zwp_linux_buffer_params_v1 interface > versions to 3. > > v2: specify request name in eve

Re: [wayland-protocols] linux-dmabuf: add immediate dmabuf import path

2017-01-17 Thread Pekka Paalanen
On Fri, 11 Nov 2016 17:10:44 +0530 Varad Gautam wrote: > From: Varad Gautam > > provide a mechanism that allows clients to import the added dmabufs > and immediately receive the newly created wl_buffer handle. this is > useful to clients that are sure of their import request succeeding, > and w

Re: [PATCH] xdg-shell: require popups to intersect with or be adjacent to parent surfaces

2017-01-17 Thread Jonas Ådahl
On Mon, Dec 19, 2016 at 11:56:38AM -0500, Mike Blumenkrantz wrote: > some restrictions must be placed on this or else it becomes legal for > the compositor to place popups in unexpected locations > > Signed-off-by: Mike Blumenkrantz Pushed: 642dd7a..375385e master -> master Jonas > --- >

Re: [PATCH weston RFC] compositor-wayland: Support building without EGL

2017-01-17 Thread Daniel Stone
Hi, On 10 December 2016 at 00:21, Daniel Stone wrote: > On 9 December 2016 at 21:58, Armin Krezović wrote: >> +#ifdef ENABLE_EGL /* Defined but not used */ >> +#ifdef ENABLE_EGL /* Force pixman when EGL support is disabled */ >> b->use_pixman = new_config->use_pixman; >> +#else >> +

[PATCH weston] ivi-shell: fix typo in layer_destroy API

2017-01-17 Thread Ucan, Emre (ADITG/SW1)
Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index cc01de3..6870ea5 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -1363,7 +1363,7 @@ ivi_layout_layer

[PATCH weston] ivi-shell: Damage view below after unmapping

2017-01-17 Thread Ucan, Emre (ADITG/SW1)
If ivilayer or ivisurf of ivi_view is made invisible in the commit_changes call, we have to damage the weston_view below this ivi_view. Otherwise content of this ivi_view will stay visible. Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout.c | 41 - 1 fi

Re: [PATCH weston] window: Check for NULL surface in keyboard_handle_enter

2017-01-17 Thread Daniel Stone
Hi Dima, On 30 November 2016 at 20:10, Dima Ryazanov wrote: > This can happen if you right-click in weston-terminal a few times very > quickly. > The pointer_handle_enter callback already checks for NULL, so let's do that in > keyboard_handle_enter, too. Good catch, thanks! Pushed with review:

Re: [PATCH] compositor-drm: allow mode frequency selection

2017-01-17 Thread Daniel Stone
Hi Fabien, On 2 January 2017 at 16:42, Fabien Dessenne wrote: > @@ -2210,9 +2210,12 @@ drm_output_choose_initial_mode(struct drm_backend > *backend, > drmModeModeInfo drm_modeline; > int32_t width = 0; > int32_t height = 0; > + uint32_t refresh = 0; > + int n;

Re: [PATCH weston v2] compositor-drm: pageflip timeout implementation

2017-01-17 Thread Daniel Stone
Hi Emmanuel, On 6 January 2017 at 21:17, Emmanuel Gil Peyrot wrote: > @@ -858,6 +907,10 @@ vblank_handler(int fd, unsigned int frame, unsigned int > sec, unsigned int usec, > s->current = s->next; > s->next = NULL; > > + /* Stop the pageflip timer instead of rearming it her

Re: [PATCH weston v2 0/5] libweston common modules preparation

2017-01-17 Thread Daniel Stone
Hi Quentin, On 18 December 2016 at 13:26, Quentin Glidic wrote: > Here is the second take at my common modules series, or rather at the > preparation > work. > > The real feature will come in a second series, with README update, and a > complete > design explanation. > > This series is merely a

Re: [PATCH weston 2/2] Makefile.am: Link modules to libweston.la

2017-01-17 Thread Daniel Stone
Hi, On 21 November 2016 at 11:07, Jan Engelhardt wrote: > On Monday 2016-11-21 12:00, Daniel Stone wrote: >>COMPOSITOR_LIBS is full of -Lfoo -lsyslib. To the best of my >>knowledge, these belong in LDADD > > Negative. _LDADD is ignored for library type outputs, and _LIBADD > is ignored for progra