Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 09:36:42PM -0700, Bryce Harrington wrote: > On Fri, Aug 12, 2016 at 12:33:42PM +0800, Jonas Ådahl wrote: > > On Thu, Aug 11, 2016 at 09:08:15PM -0700, Bryce Harrington wrote: > > > On Fri, Aug 12, 2016 at 11:51:38AM +0800, Jonas Ådahl wrote: > > > > On Thu, Aug 11, 2016 at

Re: [PATCH wayland-protocols 3/4 v2] xdg-shell: Add resize_x/y constrain adjustment to positioner

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 09:35:57PM -0700, Bryce Harrington wrote: > On Fri, Aug 12, 2016 at 11:56:13AM +0800, Jonas Ådahl wrote: > > On Thu, Aug 11, 2016 at 08:49:01PM -0700, Bryce Harrington wrote: > > > On Fri, Jul 29, 2016 at 12:04:55PM +0800, Jonas Ådahl wrote: > > > > In order to get feedback

Re: [PATCH weston 0/6] Switch client to xdg_shell unstable v6

2016-08-11 Thread Bryce Harrington
On Fri, Aug 12, 2016 at 11:40:00AM +0800, Jonas Ådahl wrote: > Hi, > > With a xdg_shell unstable v6 release around the corner, and a > libweston-desktop > about to land with a xdg_shell unstable v6 implementation available, I think > now is a good time to switch weston to use the new version,

Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Bryce Harrington
On Fri, Aug 12, 2016 at 12:33:42PM +0800, Jonas Ådahl wrote: > On Thu, Aug 11, 2016 at 09:08:15PM -0700, Bryce Harrington wrote: > > On Fri, Aug 12, 2016 at 11:51:38AM +0800, Jonas Ådahl wrote: > > > On Thu, Aug 11, 2016 at 08:39:08PM -0700, Bryce Harrington wrote: > > > > On Fri, Jul 29, 2016 at

Re: [PATCH wayland-protocols 3/4 v2] xdg-shell: Add resize_x/y constrain adjustment to positioner

2016-08-11 Thread Bryce Harrington
On Fri, Aug 12, 2016 at 11:56:13AM +0800, Jonas Ådahl wrote: > On Thu, Aug 11, 2016 at 08:49:01PM -0700, Bryce Harrington wrote: > > On Fri, Jul 29, 2016 at 12:04:55PM +0800, Jonas Ådahl wrote: > > > In order to get feedback of available space where a client can create > > > its popup, let it

Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 09:08:15PM -0700, Bryce Harrington wrote: > On Fri, Aug 12, 2016 at 11:51:38AM +0800, Jonas Ådahl wrote: > > On Thu, Aug 11, 2016 at 08:39:08PM -0700, Bryce Harrington wrote: > > > On Fri, Jul 29, 2016 at 12:04:53PM +0800, Jonas Ådahl wrote: > > > > xdg_positioner is a

Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Bryce Harrington
On Fri, Aug 12, 2016 at 11:51:38AM +0800, Jonas Ådahl wrote: > On Thu, Aug 11, 2016 at 08:39:08PM -0700, Bryce Harrington wrote: > > On Fri, Jul 29, 2016 at 12:04:53PM +0800, Jonas Ådahl wrote: > > > xdg_positioner is a method for declarative positioning of child surfaces > > > (currently only

Re: [PATCH wayland-protocols 3/4 v2] xdg-shell: Add resize_x/y constrain adjustment to positioner

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 08:49:01PM -0700, Bryce Harrington wrote: > On Fri, Jul 29, 2016 at 12:04:55PM +0800, Jonas Ådahl wrote: > > In order to get feedback of available space where a client can create > > its popup, let it create requset that its popup rectangle being resized > > would it not

Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 08:39:08PM -0700, Bryce Harrington wrote: > On Fri, Jul 29, 2016 at 12:04:53PM +0800, Jonas Ådahl wrote: > > xdg_positioner is a method for declarative positioning of child surfaces > > (currently only xdg_popup surfaces). A client creates a description of a > > positioning

Re: [PATCH wayland-protocols 4/4] xdg-shell: Drop desktop environment specific state allocations

2016-08-11 Thread Bryce Harrington
On Fri, Jul 29, 2016 at 12:04:56PM +0800, Jonas Ådahl wrote: > Instead of allocating state ranges that desktop environments can use as > they want, let them introduce their own protocol and their own enums. > > If such desktop environment protocols need the configure/ack_configure > semantics,

Re: [PATCH wayland-protocols 3/4 v2] xdg-shell: Add resize_x/y constrain adjustment to positioner

2016-08-11 Thread Bryce Harrington
On Fri, Jul 29, 2016 at 12:04:55PM +0800, Jonas Ådahl wrote: > In order to get feedback of available space where a client can create > its popup, let it create requset that its popup rectangle being resized > would it not fit the within the work area. This adds two new constrain > adjustment

[PATCH weston 6/6] clients/simple-dmabuf-v4l: Port to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 6 +-- clients/simple-dmabuf-v4l.c | 96 ++--- 2 files changed, 66 insertions(+), 36 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7fdca41..00fc0ff 100644 ---

[PATCH weston 5/6] clients/simple-dmabuf-intel: Port to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 4 +- clients/simple-dmabuf-intel.c | 94 +-- 2 files changed, 65 insertions(+), 33 deletions(-) diff --git a/Makefile.am b/Makefile.am index d0693c5..7fdca41 100644 ---

[PATCH weston 2/6] clients/simple-egl: Port to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 4 +- clients/simple-egl.c | 106 +++ 2 files changed, 66 insertions(+), 44 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3a42a93..dcd0a25 100644 ---

[PATCH weston 0/6] Switch client to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Hi, With a xdg_shell unstable v6 release around the corner, and a libweston-desktop about to land with a xdg_shell unstable v6 implementation available, I think now is a good time to switch weston to use the new version, moving us one step closer to a stable desktop shell protocol. Assuming

[PATCH weston 4/6] clients/simple-damage: Port to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 4 +-- clients/simple-damage.c | 92 - 2 files changed, 63 insertions(+), 33 deletions(-) diff --git a/Makefile.am b/Makefile.am index eb093b8..d0693c5 100644 ---

[PATCH weston 1/6] toytoolkit: Port to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 10 ++- clients/window.c | 268 --- 2 files changed, 184 insertions(+), 94 deletions(-) diff --git a/Makefile.am b/Makefile.am index 47fc643..3a42a93 100644 --- a/Makefile.am

[PATCH weston 3/6] clients/simple-shm: Port to xdg_shell unstable v6

2016-08-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 4 +-- clients/simple-shm.c | 93 2 files changed, 60 insertions(+), 37 deletions(-) diff --git a/Makefile.am b/Makefile.am index dcd0a25..eb093b8 100644 ---

Re: [PATCH wayland-protocols 2/4 v2] xdg-shell: Clarify focus semantics for popup grabs

2016-08-11 Thread Bryce Harrington
On Fri, Jul 29, 2016 at 12:04:54PM +0800, Jonas Ådahl wrote: > Make it clearer what the focus semantics are during a popup grab. In > short, when a grabbing popup is mapped, the top most popup will always > have keyboard focus, while pointer and touch focus works just as normal > except that only

Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Bryce Harrington
On Fri, Jul 29, 2016 at 12:04:53PM +0800, Jonas Ådahl wrote: > xdg_positioner is a method for declarative positioning of child surfaces > (currently only xdg_popup surfaces). A client creates a description of a > positioning logic using the xdg_positioner interface. The xdg_positioner > object is

[ANNOUNCE] wayland-protocols 1.6

2016-08-11 Thread Jonas Ådahl
wayland-protocols 1.6 is now available. This release include two new unstable protocols: . xdg-foreign - reference a toplevel surface from another client and affect window manager relationship. . idle-inhibit - inhibit idle behaviour (screen blanking, screensaver, etc)

Re: [PATCH wayland-protocols 1/4 v5] xdg-shell: Introduce xdg_positioner

2016-08-11 Thread Jonas Ådahl
Hi, I just landed 1, 2 and 4 (all the patches except positioner resize addition) on the wip/xdg-shell-unstable-v6 branch. Two of the patches only have Acked-by tags, but they have been pending on the list long enough already. Patch 3 (positioner resize adjustment) I intend to land on Monday, and

Re: [PATCH wayland-protocols v4] Add screensaver idle inhibitor protocol

2016-08-11 Thread Jonas Ådahl
On Thu, Jul 14, 2016 at 06:35:31PM -0700, Bryce Harrington wrote: > This interface allows disabling of screensaver/screenblanking on a > per-surface basis. As long as the surface remains visible and > non-occluded it blocks the screensaver, etc. from activating on the > output(s) that the surface

Re: [PATCH wayland 8/8] protocol: Specify upper left corner of damage rectangle

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:33:05PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Specify x and y args as the upper left corner of the surface / buffer > damage rectangle. > > Signed-off-by: Yong Bakos Upper-left is kind of standard for

Re: [PATCH wayland 6/8] protocol: Remove wl_ prefix from summary descriptions

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:33:03PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Summary attributes sometime describe objects using their wl-prefixed type, > but more often don't. > > Remove the wl_ prefix from summary descriptions, since they tend to describe >

Re: [PATCH wayland 7/8] protocol: Describe serial as serial number

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:33:04PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Change "serial" to "serial number" in arg summaries, for consistency > and clarity. > > Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington

Re: [PATCH wayland 5/8] protocol: Correct description indentation

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:33:02PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington > --- > protocol/wayland.xml | 10 +- > 1 file changed, 5

Re: [PATCH wayland 4/8] protocol: Add missing line break

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:33:01PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington > --- > protocol/wayland.xml | 1 + > 1 file changed, 1 insertion(+) > > diff

Re: [PATCH wayland 3/8] protocol: Capitalize ID for consistency

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:33:00PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Signed-off-by: Yong Bakos I imagine there's a lot of places where id is not capitalized... Reviewed-by: Bryce Harrington > --- >

Re: [PATCH wayland 1/8] protocol: Add summary attributes to request params and enum entries

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:32:58PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington > --- > protocol/wayland.xml | 347 >

Re: [PATCH wayland 2/8] protocol: Hyphenate subsurface

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 02:32:59PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington > --- > protocol/wayland.xml | 2 +- > 1 file changed, 1 insertion(+), 1

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

2016-08-11 Thread Jonas Ådahl
On Thu, Aug 11, 2016 at 05:23:11PM +0200, 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

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

2016-08-11 Thread Yong Bakos
Hi Olivier, On Aug 8, 2016, at 1:10 AM, Olivier Fourdan wrote: > > Add a new API to let compositor decide whether or not a wl_global > should be advertised to the clients via wl_registry_bind() or > display_get_registry() > > By using its own filter, the compositor can

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

2016-08-11 Thread Yong Bakos
On Aug 9, 2016, at 11:56 PM, Samuel Gaist wrote: > > Signed-off-by: Samuel Gaist Reviewed-by: Yong Bakos yong > --- > qt5.html | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qt5.html

[PATCH wayland 4/8] protocol: Add missing line break

2016-08-11 Thread Yong Bakos
From: Yong Bakos Signed-off-by: Yong Bakos --- protocol/wayland.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index cc0deac..523bd9d 100644 --- a/protocol/wayland.xml +++

[PATCH wayland 5/8] protocol: Correct description indentation

2016-08-11 Thread Yong Bakos
From: Yong Bakos Signed-off-by: Yong Bakos --- protocol/wayland.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 523bd9d..55a74a7 100644 ---

[PATCH wayland 2/8] protocol: Hyphenate subsurface

2016-08-11 Thread Yong Bakos
From: Yong Bakos Signed-off-by: Yong Bakos --- protocol/wayland.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 8793293..b20d35c 100644 --- a/protocol/wayland.xml +++

[PATCH wayland 7/8] protocol: Describe serial as serial number

2016-08-11 Thread Yong Bakos
From: Yong Bakos Change "serial" to "serial number" in arg summaries, for consistency and clarity. Signed-off-by: Yong Bakos --- protocol/wayland.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH wayland 3/8] protocol: Capitalize ID for consistency

2016-08-11 Thread Yong Bakos
From: Yong Bakos Signed-off-by: Yong Bakos --- protocol/wayland.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index b20d35c..cc0deac 100644 --- a/protocol/wayland.xml +++

[PATCH wayland 8/8] protocol: Specify upper left corner of damage rectangle

2016-08-11 Thread Yong Bakos
From: Yong Bakos Specify x and y args as the upper left corner of the surface / buffer damage rectangle. Signed-off-by: Yong Bakos --- protocol/wayland.xml | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH wayland 0/8] protocol: documentation improvements

2016-08-11 Thread Yong Bakos
From: Yong Bakos This series "fills in the blanks" of all missing summary attributes in wayland.xml, and massages some inconsistencies I found along the way. Patch 1/8 is the meatiest, and incorporates Pekka's feedback from the RFC[1]. Patches 2 - 8 Apply changes for

[PATCH wayland 1/8] protocol: Add summary attributes to request params and enum entries

2016-08-11 Thread Yong Bakos
From: Yong Bakos Signed-off-by: Yong Bakos --- protocol/wayland.xml | 347 ++- 1 file changed, 179 insertions(+), 168 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index

[PATCH wayland 6/8] protocol: Remove wl_ prefix from summary descriptions

2016-08-11 Thread Yong Bakos
From: Yong Bakos Summary attributes sometime describe objects using their wl-prefixed type, but more often don't. Remove the wl_ prefix from summary descriptions, since they tend to describe concepts. Signed-off-by: Yong Bakos ---

Re: [PATCH wayland] server: Add doxygen comment for wl_client_for_each

2016-08-11 Thread Bryce Harrington
On Thu, Aug 11, 2016 at 12:13:37PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Commit 596024f728b0a1292ee69a80dd72a85167870936 includes a doc comment > with a link to the wl_client_for_each macro, causing an error when generating > documentation. > > Add a doc

Re: [PATCH wayland-protocols v4] Add screensaver idle inhibitor protocol

2016-08-11 Thread Yong Bakos
On Jul 14, 2016, at 6:35 PM, Bryce Harrington wrote: > > This interface allows disabling of screensaver/screenblanking on a > per-surface basis. As long as the surface remains visible and > non-occluded it blocks the screensaver, etc. from activating on the > output(s)

[PATCH wayland] server: Add doxygen comment for wl_client_for_each

2016-08-11 Thread Yong Bakos
From: Yong Bakos Commit 596024f728b0a1292ee69a80dd72a85167870936 includes a doc comment with a link to the wl_client_for_each macro, causing an error when generating documentation. Add a doc comment to wl_client_for_each, enabling the hyperlink and removing the error.

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

2016-08-11 Thread Yong Bakos
On Aug 11, 2016, at 8:23 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

[PATCH 10/10] Cleanup unneeded stuff left during the porting phrase

2016-08-11 Thread Armin Krezović
- Removed weston_backend_output_config structure; Outputs should be configured from compositors using plugin-api. - Merged weston_output_init() into weston_output_enable() - Renamed weston_output_init_pending() to weston_output_init() Signed-off-by: Armin Krezović

[PATCH 09/10] weston: Port X11 backend to new output handling API

2016-08-11 Thread Armin Krezović
This is a complete port of the X11 backend that uses recently added output handling API for output configuration. - Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually, obtained from the configuration file or obtained from

[PATCH 05/10] weston: Port fbdev backend to new output handling API

2016-08-11 Thread Armin Krezović
This is a complete port of the fbdev backend that uses recently added output handling API for output configuration. It is required that the scale and transform values are set using the previously added functionality. After everything has been set, output needs to be enabled manually using

[PATCH 04/10] weston: Port DRM backend to new output handling API

2016-08-11 Thread Armin Krezović
This is a complete port of the DRM backend that uses recently added output handling API for output configuration. Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually or obtained from the configuration file using previously added

[PATCH 07/10] weston: Port RDP backend to new output handling API

2016-08-11 Thread Armin Krezović
This is a complete port of the RDP backend that uses recently added output handling API for output configuration. Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually or obtained from the command line using previously added

[PATCH 08/10] weston: Port Wayland backend to new output handling API

2016-08-11 Thread Armin Krezović
This is a complete port of the Wayland backend that uses recently added output handling API for output configuration. - Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually, obtained from the configuration file or obtained

[PATCH 00/10] New output configuration API

2016-08-11 Thread Armin Krezović
Hello everyone, As part of my GSoC related work, I need to implement output layout configuration using configuration file. But, before I could do that, Pekka recommended that I rework current output configuration code and move all output configuration outside of libweston and make it available as

[PATCH 02/10] libweston: Add initial output API for windowed outputs configuration

2016-08-11 Thread Armin Krezović
This adds new plugin-specific API for configuring outputs on "windowed" backends, such as X11, wayland/non-fullscreen and even headless (although, it doesn't have any windows, its configuration is very similar). It can be used from compositors to configure pending outputs and should be used with

[PATCH 06/10] weston: Port headless backend to new output handling API

2016-08-11 Thread Armin Krezović
This is a complete port of the headless backend that uses recently added output handling API for output configuration. - Output can be configured at runtime by passing the necessary configuration parameters, which can be filled in manually, obtained from the configuration file or obtained

[PATCH 01/10] libweston: Add more functionality for handling weston_output objects

2016-08-11 Thread Armin Krezović
This patch implements additional functionality that will be used for configuring, enabling and disabling weston's outputs. Its indended use is by the compositors or user programs that want to be able to configure, enable or disable an output at any time. An output can only be configured while it's

[PATCH 03/10] compositor: Implement output configuration using windowed_output_api

2016-08-11 Thread Armin Krezović
This implements output configuration for outputs which use previously added weston_windowed_output_api. The function takes an output that's to be configured, default configuration that's to be set in case no configuration is specified in the config file or on command line and optional third

[PATCH wayland v4 3/3] Add API to install protocol loggers on the server wl_display

2016-08-11 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. A

[PATCH wayland v4 2/3] Add API to retrieve and iterate over the resources list of a client

2016-08-11 Thread Giulio Camuffo
To complement on the new resource created signal, this allows to iterate over the existing resources of a client. Signed-off-by: Giulio Camuffo Reviewed-by: Jonas Ådahl --- v4: - really stop when the iterator says so src/wayland-private.h | 3

[PATCH wayland v4 1/3] Add a resource creation signal

2016-08-11 Thread Giulio Camuffo
This change allows to add a resource creation listener to a wl_client, which will be notified when a new resource is created for that client. The alternative would be to have a per wl_display listener, but i think that resources are really client specific objects, so it makes sense to use the

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

2016-08-11 Thread Giulio Camuffo
2016-08-11 16:39 GMT+02:00 Pekka Paalanen : > On Tue, 9 Aug 2016 12:46:56 +0200 > 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 >>

Re: [PATCH weston v3 5/6] Add API to retrieve and iterate over the resources list of a client

2016-08-11 Thread Giulio Camuffo
2016-08-11 16:34 GMT+02:00 Pekka Paalanen : > On Tue, 9 Aug 2016 12:46:55 +0200 > Giulio Camuffo wrote: > >> To complement on the new resource created signal, this allows to >> iterate over the existing resources of a client. >> >> Signed-off-by:

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

2016-08-11 Thread Pekka Paalanen
On Tue, 9 Aug 2016 12:46:56 +0200 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

Re: [PATCH weston v3 5/6] Add API to retrieve and iterate over the resources list of a client

2016-08-11 Thread Pekka Paalanen
On Tue, 9 Aug 2016 12:46:55 +0200 Giulio Camuffo wrote: > To complement on the new resource created signal, this allows to > iterate over the existing resources of a client. > > Signed-off-by: Giulio Camuffo > Reviewed-by: Jonas Ådahl

Scrolling Distance equivalent in libinput

2016-08-11 Thread Ari
Using the MX Master mouse that has two wheels: the standard scrolling wheel ('vertical scrolling') and a small "horizontal scrolling wheel" AKA thumbwheel. In the past with evdev, it was possible to reduce the sensitivity of the thumbwheel (i.e. to have to rotate it more before it triggers an

[PATCH 1/2] libweston: Prevent a crash when a view has no output assigned

2016-08-11 Thread Armin Krezović
This fixes a crash in animation related code where weston would crash in weston_view_animation_create when the view had no output assigned. This makes sure that animation gets created and released immediately, so done and reset callbacks still get called properly. Signed-off-by: Armin Krezović

[PATCH 2/2] fullscreen-shell: Ensure that fs surface is presented on all outputs

2016-08-11 Thread Armin Krezović
When no outputs are present, and no output resource is given, a fullscreen surface won't get configured. This code ensures that surface is properly presented on all outputs that get connected after a surface has been created, but only if no output resource was previously given. Signed-off-by:

Re: [PATCH weston v3 4/6] Add a resource creation signal

2016-08-11 Thread Giulio Camuffo
Hi 2016-08-11 14:34 GMT+02:00 Pekka Paalanen : > > Hi Giulio, > > what is in this patch looks good, but I think there could be more. > > There is no test that would excercise > wl_client_add_resource_created_signal(). Right, i'll add it. > > wl_client destruction assumes

Re: [PATCH weston v3 3/6] Add API to get the list of connected clients

2016-08-11 Thread Pekka Paalanen
On Tue, 9 Aug 2016 12:46:53 +0200 Giulio Camuffo wrote: > This patch chooses the wl_list_for_each-style of iterating over > the clients, instead of using an iterator function, because i think > it is easier to use. > > Signed-off-by: Giulio Camuffo

Re: [PATCH weston v3 4/6] Add a resource creation signal

2016-08-11 Thread Pekka Paalanen
On Tue, 9 Aug 2016 12:46:54 +0200 Giulio Camuffo wrote: > This change allows to add a resource creation listener to a wl_client, > which will be notified when a new resource is created for that client. > The alternative would be to have a per wl_display listener, but i

Re: [PATCH weston] libweston: Implement wl_output version 3 (release request)

2016-08-11 Thread Pekka Paalanen
On Mon, 8 Aug 2016 16:40:46 +0300 Pekka Paalanen wrote: > On Tue, 5 Jul 2016 20:44:33 +0200 > Quentin Glidic wrote: > > > From: Quentin Glidic > > > > Signed-off-by: Quentin Glidic

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

2016-08-11 Thread Pekka Paalanen
On Wed, 10 Aug 2016 16:15:58 +0300 Pekka Paalanen wrote: > 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

Re: [PATCH wayland 1/2] protocol: Add release (destructor) request to wl_output

2016-08-11 Thread Pekka Paalanen
On Mon, 8 Aug 2016 16:32:48 +0300 Pekka Paalanen wrote: > On Tue, 5 Jul 2016 20:41:49 +0200 > Quentin Glidic wrote: > > > From: Quentin Glidic > > > > Signed-off-by: Quentin Glidic

Re: legacy X server isolation

2016-08-11 Thread pixelfairy
So what your saying is theres nothing stopping anyone from doing it this way, just that no one did? On Thu, Aug 11, 2016 at 1:39 AM pixelfairy wrote: > Pekka said > > > The issue I have seen mentioned is that there are X apps built to *need* > the single shared X server

Re: [PATCH weston 1/2] desktop-shell: Do not use animation code when no outputs are present

2016-08-11 Thread Pekka Paalanen
On Fri, 5 Aug 2016 15:32:05 +0200 Armin Krezović wrote: > It leads to crash when trying to select an output that drives > the animation. > > Signed-off-by: Armin Krezović > --- > desktop-shell/exposay.c | 10 + >

Re: legacy X server isolation

2016-08-11 Thread pixelfairy
Pekka said > The issue I have seen mentioned is that there are X apps built to *need* the single shared X server model. What apps would those be? Are you talking about ones whos functionality would now be the domain of the compositor? At least in my own limited use, i can tell you many apps dont

Re: [PATCH weston 2/2 v2] gl-renderer: Make dummy surface current after all outputs are gone

2016-08-11 Thread Pekka Paalanen
On Fri, 5 Aug 2016 15:28:30 +0200 Armin Krezović wrote: > When all outputs are gone, there are no current read/write > surfaces associated with a context. This makes the previously > created dummy surface current until an output gets attached > to avoid any potential

Re: legacy X server isolation

2016-08-11 Thread Pekka Paalanen
On Thu, 11 Aug 2016 07:38:15 + pixelfairy wrote: > ive only looked at some docs and demos of wayland and tried it on a laptop > with fedora 24 briefly. in a wayland session, xinput could read the > keyboard of other x11 apps. > > Since wayland can have a fallback x

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

2016-08-11 Thread Giulio Camuffo
Hi, 2016-08-10 18:28 GMT+02:00 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