Re: [PATCH v4 xdg-shell-unstable-v6] xdg-shell: add preferred min/max size requests

2016-04-07 Thread Olivier Fourdan
Hi > I see no reason for "preferred" to be in the name. There is no intention to > be able to ever specify a "real" min/max size so this word does not > distinguish the values from any thing else. This was asked explicitly on irc #wayland last Monday (iirc) by SardemFF7. This is not to distingui

Re: [PATCH] Fix implicit declaration of function 'xf86Msg' in xf86libinput.c

2016-04-07 Thread Peter Hutterer
On Wed, Oct 14, 2015 at 10:43:34AM +1000, Stanislav Ochotnicky wrote: > Addition of xf86.h header fixes compilation issues in some cases. > > See: https://bugs.gentoo.org/show_bug.cgi?id=560970 > Signed-off-by: Stanislav Ochotnicky > --- > src/xf86libinput.c | 1 + > 1 file changed, 1 insertion(

[PATCH weston v3 4/8] desktop-shell: Support tracking active surfaces

2016-04-07 Thread Bryce Harrington
Activity for desktop-shell simply follows keyboard focus. Only a single surface can be active at a time. Signed-off-by: Bryce Harrington --- desktop-shell/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 6e49076..48e4e30 100644 --

[PATCH weston v3 8/8] desktop-shell: Enable per-output fade animations

2016-04-07 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 v3 5/8] fullscreen-shell: Support tracking active surfaces

2016-04-07 Thread Bryce Harrington
Surface activity is determined by what surface is being displayed fullscreen. Only a single surface can be active in the shell. Signed-off-by: Bryce Harrington --- fullscreen-shell/fullscreen-shell.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a

[PATCH weston v3 6/8] ivi-shell: Support tracking active surfaces

2016-04-07 Thread Bryce Harrington
Activity for ivi-shell follows either click or touch. Only a single surface can be active in the shell at a time. Signed-off-by: Bryce Harrington --- Makefile.am | 4 ++- configure.ac | 2 ++ ivi-shell/ivi-shell.c | 10 ++ ivi-shell/ivi-shell.h | 2 ++ src/compositor.c

[PATCH weston v3 0/8] Implement screensaver/idle inhibition

2016-04-07 Thread Bryce Harrington
This patchset implements screensaver inhibition for Weston (see separate wayland-protocols patch). The first three patches set up some infrastructure adjustments that will be needed in the latter patches. This makes idle behavior tracked on a per-seat basis, so that shells can connect an inhibit

[PATCH weston v3 7/8] Define the screensaver inhibitor client interface

2016-04-07 Thread Bryce Harrington
Hook up the API defined in wayland-protocols to allow client screensaver inhibition requests. Signed-off-by: Bryce Harrington --- v2: Update for protocol rename Makefile.am | 9 +++-- clients/simple-shm.c | 28 2 files changed, 31 insertions(+), 6 dele

[PATCH weston v3 1/8] compositor: Track idle as a per-seat property

2016-04-07 Thread Bryce Harrington
Instead of having a single global idle tracker, track idling separately for each seat. Still treat inhibition on any one seat as inhibiting the screensaver globally, for now. Signed-off-by: Bryce Harrington --- src/compositor.c | 6 -- src/compositor.h | 3 ++- src/input.c | 39 +

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

2016-04-07 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 se

[PATCH weston v3 2/8] compositor: Track inhibition state in weston_surface

2016-04-07 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- v3: Rename inhibit_screensaving to inhibit_idling desktop-shell/shell.c | 4 +++- fullscreen-shell/fullscreen-shell.c | 25 +++--- ivi-shell/ivi-shell.c | 4 +++- src/compositor.c| 42 ++

Re: [PATCH weston v2 03/10] compositor: Track surface activity

2016-04-07 Thread Bryce Harrington
On Mon, Mar 28, 2016 at 06:17:43PM -0700, Bryce Harrington wrote: > On Mon, Mar 28, 2016 at 10:25:24AM +0300, Giulio Camuffo wrote: > > 2016-03-24 20:27 GMT+02:00 Bryce Harrington : > > > Surfaces flagged as 'active' are considered of primary urgency to the > > > user. It might be the surface with

Re: [PATCH weston v2 01/10] compositor: Track idle as a per-seat property

2016-04-07 Thread Bryce Harrington
On Thu, Apr 07, 2016 at 08:44:44AM +0300, Giulio Camuffo wrote: > 2016-04-07 1:46 GMT+03:00 Bryce Harrington : > > On Mon, Mar 28, 2016 at 10:17:20AM +0300, Giulio Camuffo wrote: > >> 2016-03-24 20:27 GMT+02:00 Bryce Harrington : > >> > Instead of having a single global idle tracker, track idling s

Re: [PATCH weston v2] Makefile: Fix compilation error when git commit message has quotes

2016-04-07 Thread Bryce Harrington
On Thu, Apr 07, 2016 at 04:53:31PM +, Chokshi, Mitul wrote: > > A double-quote in log message prematurely ends the enquoted string > in src/git-version.h, causing an error during compilation. > Used stream editor to replace " with \" > > Signed-off-by: Mitul Chokshi > --- > Makefile.am | 2

[PATCH weston v2] Makefile: Fix compilation error when git commit message has quotes

2016-04-07 Thread Chokshi, Mitul
A double-quote in log message prematurely ends the enquoted string in src/git-version.h, causing an error during compilation. Used stream editor to replace " with \" Signed-off-by: Mitul Chokshi --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Ma

RE: [PATCH] Fix compilation error when git commit message has quotes (")

2016-04-07 Thread Chokshi, Mitul
Hi Yong, Thanks for the review comments. I'll send the updated patch shortly. Regards, Mitul -Original Message- From: Yong Bakos [mailto:j...@humanoriented.com] Sent: Thursday, April 7, 2016 3:40 PM To: Chokshi, Mitul ; wayland-devel@lists.freedesktop.org Subject: Re: [PATCH] Fix compi

Re: [PATCH v4 xdg-shell-unstable-v6] xdg-shell: add preferred min/max size requests

2016-04-07 Thread Olivier Fourdan
Hi Yong, - Original Message - > Hi Olivier, > Some minor spelling corrections below. (Same as the previous response, > replying again to associate with this latest patch version.) I'm happy > to correct these with my own separate patch after this is merged. > > > > --- > > v2: Rename the

Re: [PATCH v3] xdg-shell: add preferred min/max size requests

2016-04-07 Thread Yong Bakos
> On Apr 7, 2016, at 1:56 AM, Olivier Fourdan wrote: > > Some application may wish to restrict their window in size, but > xdg-shell has no mechanism for the client to advertise such a maximum > or minimum size the compositor can use. > > As a result, the compositor may try to maximize or fullsc

Re: [PATCH v4 xdg-shell-unstable-v6] xdg-shell: add preferred min/max size requests

2016-04-07 Thread Yong Bakos
> On Apr 7, 2016, at 2:39 AM, Olivier Fourdan wrote: > > Some application may wish to restrict their window in size, but > xdg-shell has no mechanism for the client to advertise such a maximum > or minimum preferred size the compositor can use. > > As a result, the compositor may try to maximize

Re: [PATCH] Fix compilation error when git commit message has quotes (")

2016-04-07 Thread Olivier Fourdan
Hi, On 7 April 2016 at 10:14, Chokshi, Mitul wrote: > This e-mail and any attachments may contain confidential material for the > sole > use of the intended recipient(s). > ​​ > Any review or distribution by others is > ​​ > strictly prohibited. If you are not the intended recipient, please cont

Re: [PATCH] Fix compilation error when git commit message has quotes (")

2016-04-07 Thread Yong Bakos
> On Apr 7, 2016, at 3:14 AM, Chokshi, Mitul wrote: > > > Used stream editor to replace " with \" > > Signed-off-by: Mitul Chokshi > --- > Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile.am b/Makefile.am > index d1644ac..a09ea0b 100644 > --- a/Make

Re: [PATCH wayland v2] Add API to install protocol loggers on the server wl_display

2016-04-07 Thread Yong Bakos
> On Apr 7, 2016, at 6:37 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 more powerful because it > can be enab

[PATCH wayland v2] Add API to install protocol loggers on the server wl_display

2016-04-07 Thread Giulio Camuffo
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 more powerful because it can be enabled at run time and allows to show the log e.g. in a UI view. Sign

Plans for Weston surface remoting for IVI

2016-04-07 Thread Pekka Paalanen
Hi all, I have written a rough design on how to implement per-surface remoting on Weston, primarily over network: https://people.collabora.com/~pq/Adit/Weston-IVI-remoting.pdf Before you get carried away, I must note that this will not work on desktops without considerable work. The design is wri

[PATCH] Fix compilation error when git commit message has quotes (")

2016-04-07 Thread Chokshi, Mitul
Used stream editor to replace " with \" Signed-off-by: Mitul Chokshi --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d1644ac..a09ea0b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -162,7 +162,7 @@ endif if HAVE_GIT_REPO src

[PATCH v4 xdg-shell-unstable-v6] xdg-shell: add preferred min/max size requests

2016-04-07 Thread Olivier Fourdan
Some application may wish to restrict their window in size, but xdg-shell has no mechanism for the client to advertise such a maximum or minimum preferred size the compositor can use. As a result, the compositor may try to maximize or fullscreen a window while the client would not allow for the re

Re: [PATCH 2/5] drm: port the drm backend to the new init api

2016-04-07 Thread Pekka Paalanen
On Thu, 7 Apr 2016 09:04:46 +0300 Giulio Camuffo wrote: > 2016-04-06 11:37 GMT+03:00 Pekka Paalanen : > > On Wed, 9 Mar 2016 16:49:29 -0800 > > Bryce Harrington wrote: > > > >> From: Giulio Camuffo > >> > >> Signed-off-by: Bryce Harrington > >> Reviewed-by: Quentin Glidic > >> Acked-by: Pe