[PATCH weston v4 1/3] compositor: If the output is inhibited, don't idle it off

2016-08-10 Thread Bryce Harrington
Adds a helper routine weston_output_inhibited_outputs() which returns a mask of outputs that should inhibit screen idling. Use this routine to check for inhibiting outputs for handling of idle behaviors in core: In sleep mode, only halt repainting outputs that don't have valid inhibits. Don't

[PATCH weston v4 3/3] desktop-shell: Enable per-output fade animations

2016-08-10 Thread Bryce Harrington
Instead of creating a single global fade surface across all outputs, create a separate surface for each output. This lets us individually fade each output (or block fading if the output has an inhibiting surface). When there are client surfaces with valid idle inhibits present, fade out only the

[PATCH weston v4 2/3] compositor: Implement idle inhibition

2016-08-10 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- Makefile.am| 4 ++- configure.ac | 2 ++ libweston/compositor.c | 88 ++ 3 files changed, 93 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am

Re: [PATCH weston v3 6/6] Add API to install protocol loggers on the server wl_display

2016-08-10 Thread Yong Bakos
Hi Giulio, > On Aug 9, 2016, at 3:46 AM, Giulio Camuffo wrote: > > The new wl_display_add_protocol_logger allows to set a function as > a logger, which will get called when a new request is received or an > event is sent. > This is akin to setting WAYLAND_DEBUG=1, but

Re: [PATCH weston v3 2/6] Add API to retrieve the interface name of a wl_resource

2016-08-10 Thread Yong Bakos
On Aug 9, 2016, at 11:46 PM, Giulio Camuffo wrote: > > 2016-08-10 0:48 GMT+02:00 Yong Bakos : >> Hi Giulio, >> I missed these Wayland patches due to the weston subject >> line, so forgive me for the late feedback. Suggestion inline >> below. > >

Re: [PATCH 7/7] fullscreen-shell: Keep fullscreen surface after all outputs are gone

2016-08-10 Thread Pekka Paalanen
On Fri, 29 Jul 2016 13:26:28 +0200 Armin Krezović wrote: > Currently, when all outputs are gone (all views are gone), a surface > is unmapped and destroyed, even though the client is still running. > > This utilizes the previously added code to remap the surface when a

Re: [PATCH 6/7] fullscreen-shell: Remap surfaces when attaching a primary output

2016-08-10 Thread Pekka Paalanen
On Fri, 29 Jul 2016 13:26:27 +0200 Armin Krezović wrote: > When no outputs are present, and no output resource was given, > a fullscreen surface won't get configured because the default > behavior when there is no output resource given is to create > the same surface on

[PATCH weston] libweston: Add move (without scale) animation

2016-08-10 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- libweston/animation.c | 35 +-- libweston/compositor.h | 7 ++- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 5/7] fullscreen-shell: Add helpers for managing surfaces on zero outputs

2016-08-10 Thread Pekka Paalanen
On Fri, 29 Jul 2016 13:26:26 +0200 Armin Krezović wrote: > This adds helper functions for managing fullscreen surfaces outside > of fullscreen outputs. > > Signed-off-by: Armin Krezović > --- > fullscreen-shell/fullscreen-shell.c | 55 >

Re: [PATCH wayland 2/2] scanner: Generate all SINCE_VERSION macros for everyone

2016-08-10 Thread Pekka Paalanen
On Wed, 10 Aug 2016 14:47:06 +0200 Quentin Glidic wrote: > On 10/08/2016 14:36, Pekka Paalanen wrote: > > On Tue, 9 Aug 2016 11:05:49 +0300 > > Pekka Paalanen wrote: > > > >> On Mon, 8 Aug 2016 15:59:37 +0200 > >> Quentin Glidic

Re: [PATCH wayland 2/2] scanner: Generate all SINCE_VERSION macros for everyone

2016-08-10 Thread Quentin Glidic
On 10/08/2016 14:36, Pekka Paalanen wrote: On Tue, 9 Aug 2016 11:05:49 +0300 Pekka Paalanen wrote: On Mon, 8 Aug 2016 15:59:37 +0200 Quentin Glidic wrote: On 08/08/2016 15:45, Pekka Paalanen wrote: On Tue, 5 Jul 2016 20:41:50 +0200

Re: [PATCH wayland 2/2] scanner: Generate all SINCE_VERSION macros for everyone

2016-08-10 Thread Pekka Paalanen
On Tue, 9 Aug 2016 11:05:49 +0300 Pekka Paalanen wrote: > On Mon, 8 Aug 2016 15:59:37 +0200 > Quentin Glidic wrote: > > > On 08/08/2016 15:45, Pekka Paalanen wrote: > > > On Tue, 5 Jul 2016 20:41:50 +0200 > > > Quentin Glidic

Re: [PATCH weston 2/2] shell: Check for keyboard driven popup as well

2016-08-10 Thread Olivier Fourdan
... sorry, by two patches, I meant this one as well :) Cheers, Olivier - Original Message - > xdh-shell's xdg-popup takes a serial, if the serial doesn't match the > compositor would dismiss the popup. > > Currently, weston checks for pointer and touch serials, but popups can > also be

Re: [PATCH weston 1/2] input: Update keyboard serial on press and release

2016-08-10 Thread Olivier Fourdan
Hi all, Small reminder, I don't think I got any review/reply of these two patches... Cheers, Olivier - Original Message - > Other compositors such as mutter update the keyboard serial for both key > press and key release, unlike weston which updates it only on key press. > > When

Re: [PATCH 1/3 v3] wayland-server: Add API to control globals visibility

2016-08-10 Thread Olivier Fourdan
Hi Yong, > Despite the R-b's you received, and I hate to encourage you to do > a v4, I would like to suggest two things that are important: > - naming > - more comments/doc > > I'll send another email soon with some suggestions to save you time. Sure, I would need some more details and a

Libweston release blockers (Re: [PATCH weston 1/2] releasing: how to handle libweston)

2016-08-10 Thread Pekka Paalanen
Hi all, please mind that this patch is a weston release blocker. We cannot make any release until we have agreed and documented how the weston vs. libweston versions work. I believe this is the last libweston release blocker. If you have any further concerns, now is the time. Thanks, pq On

[PATCH weston 1/2] releasing: how to handle libweston

2016-08-10 Thread Pekka Paalanen
From: Pekka Paalanen libweston has separate version numbering from weston because of development needs. During development, weston version is major.minor.90 which will never be a release version number. While developing, we may break the libweston

[PATCH weston 2/2] README: updates on libweston versioning

2016-08-10 Thread Pekka Paalanen
From: Pekka Paalanen WE have agreed to use the major as the ABI-version, so talk about major to avoid confusion. Remove unncessary or incorrect wording related to breaking ABI on minor bumps. Explain a little about the weston vs. libweston version numbers.

Re: [PATCH weston v4 5/5] Switch to use safe_strtoint instead of strtol

2016-08-10 Thread Pekka Paalanen
On Tue, 9 Aug 2016 11:12:33 -0700 Bryce Harrington wrote: > On Mon, Aug 08, 2016 at 02:55:14PM +0300, Pekka Paalanen wrote: > > On Wed, 3 Aug 2016 17:40:52 -0700 > > Bryce Harrington wrote: > > > > > Reviewed-by: Eric Engestrom

Re: [PATCH weston] clients: Add a weston-autorotater client and rotater protocol

2016-08-10 Thread Pekka Paalanen
On Mon, 8 Aug 2016 16:36:36 +0100 Emmanuel Gil Peyrot wrote: > On Mon, May 23, 2016 at 12:00:13PM +0300, Pekka Paalanen wrote: > > On Sat, 21 May 2016 03:43:04 +0100 > > Emmanuel Gil Peyrot wrote: > > > > > This client uses libiio

[PATCH wayland-web v2] qt5: fixed bug tracker link

2016-08-10 Thread Samuel Gaist
Signed-off-by: Samuel Gaist --- qt5.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt5.html b/qt5.html index 752d63b..d67e297 100644 --- a/qt5.html +++ b/qt5.html @@ -151,7 +151,7 @@ and for wl_surface: Known issues -See the

Re: [PATCH wayland-web] qt5: fixed bug tracker link

2016-08-10 Thread Samuel Gaist
On 10 août 2016, at 01:24, Bryce Harrington wrote: > On Tue, Aug 09, 2016 at 10:36:14PM +0200, Samuel Gaist wrote: >> The bug tracker has also moved under qt.io. >> >> Signed-off-by: Samuel Gaist >> --- >> qt5.html | 2 +- >> 1 file changed, 1

Re: [PATCH weston v3 2/6] Add API to retrieve the interface name of a wl_resource

2016-08-10 Thread Giulio Camuffo
2016-08-10 0:48 GMT+02:00 Yong Bakos : > Hi Giulio, > I missed these Wayland patches due to the weston subject > line, so forgive me for the late feedback. Suggestion inline > below. Oh indeed, sorry about that. > >> On Aug 9, 2016, at 3:46 AM, Giulio Camuffo