Re: [PATCH weston] clients: Use ARRAY_LENGTH macro in weston-simple-im

2016-08-30 Thread Yong Bakos
On Aug 30, 2016, at 6:38 PM, Bryce Harrington wrote: > > Signed-off-by: Bryce Harrington This is exactly what the macro expresses, so this is Reviewed-by: Yong Bakos yong > --- > clients/weston-simple-im.c | 6 +++---

[PATCH weston] clients: Use ARRAY_LENGTH macro in weston-simple-im

2016-08-30 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- clients/weston-simple-im.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c index 2d23930..1663d84 100644 --- a/clients/weston-simple-im.c +++

[PATCH libinput] evdev: add quirk for the HP85810 touchpad

2016-08-30 Thread Peter Hutterer
The touchpad's says it can do two- and three-finger detection but it never sends events for it. Disable them so we treat it as pure single-finger touchpad. https://bugzilla.redhat.com/show_bug.cgi?id=1351285 Signed-off-by: Peter Hutterer --- src/evdev.c

Re: Weston does not do transparent backgrounds

2016-08-30 Thread The Rasterman
On Tue, 30 Aug 2016 18:35:38 +0530 "arunkrish20 ." said: > Hi pq, > > Thanks for your valuable input... > > I have tried to change the "alpha_attribs" for creating the output surface. > But still no update to alpha. > > As you said, i have to look into some gl_blend

Re: [PATCH weston v5 3/7] compositor: Add public interface support for client-requested idle inhibition

2016-08-30 Thread Bryce Harrington
On Tue, Aug 30, 2016 at 12:53:46PM +0200, Quentin Glidic wrote: > On 30/08/2016 03:34, Bryce Harrington wrote: > >Signed-off-by: Bryce Harrington > > > >v5: Improve comments > >Signed-off-by: Bryce Harrington > >--- > > Makefile.am| 4

[ANNOUNCE] weston 1.11.92

2016-08-30 Thread Bryce Harrington
Here is the beta for the upcoming 1.12 release. See the alpha release announcement for previous changes. Changes since Alpha: Bryce Harrington (4): config-parser: Drop debug text releasing: Fix incorrect direction about how many lines need tweaked

[ANNOUNCE] wayland 1.11.92

2016-08-30 Thread Bryce Harrington
Here is the beta for the upcoming 1.12 release. See the alpha release announcement for previous changes. Changes since Alpha: Bryce Harrington (1): configure.ac: bump to version 1.11.92 for the beta release git tag: 1.11.92

[PATCH wayland-build-tools] Add helper script to setup and use an uninstalled environment

2016-08-30 Thread Derek Foreman
From: "Reynaldo H. Verdejo Pinochet" The wl_uninstalled script provides a shell environment to build and use an uninstalled Wayland/Weston setup. For example, this script and a fresh checkout of Wayland, libinput, wayland-protocols and Weston is all you need to run

Re: [PATCH wayland-protocols] buildsystem: add missing uninstalled pkg-config infra

2016-08-30 Thread Bryce Harrington
On Tue, Aug 30, 2016 at 09:27:25AM -0500, Derek Foreman wrote: > On 30/08/16 06:09 AM, Emil Velikov wrote: > > Hi all, > > > > On 29 August 2016 at 20:23, Derek Foreman wrote: > >> Hi Bryce, > >> > >> On 26/08/16 08:11 PM, Bryce Harrington wrote: > >>> On Fri, Aug 26,

Re: Understanding Multi Display Support with Wayland/Weston

2016-08-30 Thread Armin Krezović
On 30.08.2016 09:06, Vikas Patil wrote: > Dear All, > > I am trying to understand multi display support with wayland/weston > in any of the following mode with drm-backend and ivi-shell. Planning > to use TI soc (Jacinto 6, DRA7XX) with linux to test multi display > (dual). > > It would be

[PATCH wayland 3/4] wayland-util: build/ship as separate shared library

2016-08-30 Thread Emil Velikov
From: Emil Velikov Currently both of libwayland-{client,server} export the same util (amongst other) symbols. Although not crucial this is something which should be avoided where possible. As such let's move the library to a shared one and introduce a static one for

[PATCH wayland 4/4] build: remove white space in -uninstalled.pc.in files

2016-08-30 Thread Emil Velikov
From: Emil Velikov Signed-off-by: Emil Velikov --- Afaict the gratuitous space isn't a requirement, then again I've just read up on -uninstalled .pc files. --- src/wayland-scanner-uninstalled.pc.in | 2 +-

[PATCH wayland 0/4] Untangle the symbol export duplication

2016-08-30 Thread Emil Velikov
Hi all, For a while I've noticed that on mesa side we have few providers of the wl_drm_interface symbol and literally all our 'wayland binaries' are linked against both the client and server wayland libs. After having a look, it seems that: - the server exposes the interface symbols for

[PATCH wayland 2/4] wayland-util: split out private functionality to separate file

2016-08-30 Thread Emil Velikov
From: Emil Velikov With next commit we'll make wayland-util a shared library (for reasons mentioned in the commit). As such we need to make sure that the private symbols are somewhere that they can be used internally. Otherwise we'll end up with link errors.

[PATCH wayland 1/4] wayland-util: do not export the wl_map_* API

2016-08-30 Thread Emil Velikov
From: Emil Velikov Use only internally and explicitly marked as such with commit cf04b0a18f2 ("Move private definitions and prototypes to new zwayland-private.h") Signed-off-by: Emil Velikov --- I could not find any users of the API and I

Re: [PATCH wayland-protocols] buildsystem: add missing uninstalled pkg-config infra

2016-08-30 Thread Emil Velikov
On 30 August 2016 at 15:27, Derek Foreman wrote: > On 30/08/16 06:09 AM, Emil Velikov wrote: >> Hi all, >> >> On 29 August 2016 at 20:23, Derek Foreman wrote: >>> Hi Bryce, >>> >>> On 26/08/16 08:11 PM, Bryce Harrington wrote: On Fri, Aug 26,

Re: [PATCH weston v5 5/7] libweston-desktop: Add listener and API to drop the idle inhibitor

2016-08-30 Thread Derek Foreman
On 30/08/16 05:46 AM, Quentin Glidic wrote: > On 30/08/2016 03:34, Bryce Harrington wrote: >> Listen for the drop_idle_inhibitor signal from libweston, and propagate >> the call to a corresponding libweston-desktop API. >> >> Signed-off-by: Bryce Harrington > > In the

Re: [PATCH wayland-protocols] buildsystem: add missing uninstalled pkg-config infra

2016-08-30 Thread Derek Foreman
On 30/08/16 06:09 AM, Emil Velikov wrote: > Hi all, > > On 29 August 2016 at 20:23, Derek Foreman wrote: >> Hi Bryce, >> >> On 26/08/16 08:11 PM, Bryce Harrington wrote: >>> On Fri, Aug 26, 2016 at 06:06:43PM -0700, Bryce Harrington wrote: It is confusing terminology

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Jonas Ådahl
On Tue, Aug 30, 2016 at 03:39:08PM +0200, Giulio Camuffo wrote: > 2016-08-30 15:22 GMT+02:00 Jonas Ådahl : > > On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote: > >> 2016-08-30 13:58 GMT+02:00 Olivier Fourdan : > >> > Hi Giulio, > >> > > >> >> i

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Giulio Camuffo
2016-08-30 15:22 GMT+02:00 Jonas Ådahl : > On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote: >> 2016-08-30 13:58 GMT+02:00 Olivier Fourdan : >> > Hi Giulio, >> > >> >> i have a couple of comments below >> > >> > Thanks a lot for your quick

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Jonas Ådahl
On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote: > 2016-08-30 13:58 GMT+02:00 Olivier Fourdan : > > Hi Giulio, > > > >> i have a couple of comments below > > > > Thanks a lot for your quick reply! > > > >> 2016-08-30 11:54 GMT+02:00 Olivier Fourdan

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
Hi > Xwayland should probably use a private protocol, like EGL, ideally > completely hidden and pid-restricted. That's the point, I initially thought of a private protocol, but then realized it could be useful outside of the Xwayland use case as well. If not, I'd be happy to drop this patch

Re: Weston does not do transparent backgrounds

2016-08-30 Thread arunkrish20 .
Hi pq, Thanks for your valuable input... I have tried to change the "alpha_attribs" for creating the output surface. But still no update to alpha. As you said, i have to look into some gl_blend function calls(for enable and disable) and gl_blendfunc function calls. As per your comment there is

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Quentin Glidic
On 30/08/2016 12:18, Giulio Camuffo wrote: Hi, i have a couple of comments below 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : >> [snip] + + This protocol specifies a way for a client to request all keyboard + events to be forwarded to a surface. + +

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Giulio Camuffo
2016-08-30 13:58 GMT+02:00 Olivier Fourdan : > Hi Giulio, > >> i have a couple of comments below > > Thanks a lot for your quick reply! > >> 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : >> > [...] >> >> I can understand the Xwayland use, but not the VM

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
Hi Giulio, > i have a couple of comments below Thanks a lot for your quick reply! > 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : > > [...] > > I can understand the Xwayland use, but not the VM one. If i'm using a > VM i expect it to receive key events when focused, not

Re: [PATCH weston v5 4/7] libweston: Add a signal to fire when the idle inhibitor is dropped

2016-08-30 Thread Quentin Glidic
On 30/08/2016 03:34, Bryce Harrington wrote: Signed-off-by: Bryce Harrington Why not squash it to patch 3? And noise reordering? :-) Cheers, --- libweston/compositor.c | 23 +-- libweston/compositor.h | 1 + 2 files changed, 18 insertions(+), 6

Re: [PATCH wayland-protocols] buildsystem: add missing uninstalled pkg-config infra

2016-08-30 Thread Emil Velikov
Hi all, On 29 August 2016 at 20:23, Derek Foreman wrote: > Hi Bryce, > > On 26/08/16 08:11 PM, Bryce Harrington wrote: >> On Fri, Aug 26, 2016 at 06:06:43PM -0700, Bryce Harrington wrote: >>> It is confusing terminology to call this 'uninstalled'; sounds like this >>>

Re: [PATCH weston v5 3/7] compositor: Add public interface support for client-requested idle inhibition

2016-08-30 Thread Quentin Glidic
On 30/08/2016 03:34, Bryce Harrington wrote: Signed-off-by: Bryce Harrington v5: Improve comments Signed-off-by: Bryce Harrington --- Makefile.am| 4 ++- libweston/compositor.c | 88 ++

Re: [PATCH weston v5 5/7] libweston-desktop: Add listener and API to drop the idle inhibitor

2016-08-30 Thread Quentin Glidic
On 30/08/2016 03:34, Bryce Harrington wrote: Listen for the drop_idle_inhibitor signal from libweston, and propagate the call to a corresponding libweston-desktop API. Signed-off-by: Bryce Harrington In the current form, this patch is useless. Details inside. ---

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Giulio Camuffo
Hi, i have a couple of comments below 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : > This patch introduces a new protocol for grabbing a keyboard. > > Signed-off-by: Olivier Fourdan > --- > Makefile.am| 1 + >

[RFC PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
Hi all, I think we need a way for client to request a keyboard grab in Wayland. Use case for this can be a virtual machine or remote connection viewer, or even Xwayland itself who cannot tell the compositor when an X client issues a XGrabKeyboard [1] I would like to keep this protocol as simple

[PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
This patch introduces a new protocol for grabbing a keyboard. Signed-off-by: Olivier Fourdan --- Makefile.am| 1 + configure.ac | 2 +- unstable/keyboard-grab/README | 4

Re: [PATCH wayland-protocols 3/3] text-input: Correct grammar

2016-08-30 Thread Jonas Ådahl
On Mon, Aug 29, 2016 at 05:31:22PM -0700, Bryce Harrington wrote: > On Fri, Aug 19, 2016 at 11:05:28AM -0700, Yong Bakos wrote: > > From: Yong Bakos > > > > Signed-off-by: Yong Bakos > > Reviewed-by: Bryce Harrington

Re: [PATCH wayland-protocols] xdg-shell: Correct grammar

2016-08-30 Thread Jonas Ådahl
On Mon, Aug 29, 2016 at 05:33:56PM -0700, Bryce Harrington wrote: > On Fri, Aug 19, 2016 at 09:47:39AM -0700, Yong Bakos wrote: > > From: Yong Bakos > > > > Adjust minor grammar issues, for clarity. > > > > This patch cherry-picks some relevant changes from an earlier

Re: [PATCH wayland-protocols v2] buildsystem: add -uninstalled.pc pkg-config file

2016-08-30 Thread Jonas Ådahl
On Mon, Aug 29, 2016 at 05:10:17PM -0700, Bryce Harrington wrote: > On Mon, Aug 29, 2016 at 02:25:46PM -0500, Derek Foreman wrote: > > From: "Reynaldo H. Verdejo Pinochet" > > > > For building against an uninstalled wayland-protocols tree > > > > Signed-off-by:

Re: [PATCH libinput] buildsystem: add missing uninstalled pkg-config infra

2016-08-30 Thread Peter Hutterer
On Fri, Aug 26, 2016 at 01:48:17PM -0500, Derek Foreman wrote: > From: "Reynaldo H. Verdejo Pinochet" > > Signed-off-by: Reynaldo H. Verdejo Pinochet > Reviewed-by: Derek Foreman > Signed-off-by: Derek Foreman

Understanding Multi Display Support with Wayland/Weston

2016-08-30 Thread Vikas Patil
Dear All, I am trying to understand multi display support with wayland/weston in any of the following mode with drm-backend and ivi-shell. Planning to use TI soc (Jacinto 6, DRA7XX) with linux to test multi display (dual). It would be great help if you could give inputs/information/suggest on

[ANNOUNCE] libinput 1.4.2

2016-08-30 Thread Peter Hutterer
libinput 1.4.2 is now available. It fixes two touchpad-related bugs, one an error message when switching from two-finger scolling to edge scrolling. The other issue now fixed are pointer jumps that occasionally happened when lifting one finger after a two-finger action like a tap or a scroll.