Re: [PATCH wayland-protocols v3 7/7] xdg-shell: Introduce xdg_positioner

2016-06-17 Thread Jonas Ådahl
On Tue, Jun 14, 2016 at 01:01:15PM -0400, Jonas Ådahl wrote: > On Thu, Jun 09, 2016 at 12:05:28AM +0200, Benoit Gschwind wrote: > > Hello Jonas, > > > > The proposal of xdg_positioner is a good idea. I still need to review > > your proposal deeper, but at the moment I have few question to help my

Re: [PATCH weston] weston-simple-im: Make capitalization consistent in error messages

2016-06-17 Thread Bryce Harrington
On Thu, Jun 16, 2016 at 09:24:56PM -0600, Yong Bakos wrote: > > > On Jun 16, 2016, at 12:11 PM, Bryce Harrington > > wrote: > > > > On Thu, Jun 16, 2016 at 11:14:01AM -0500, Derek Foreman wrote: > >> On 15/06/16 07:59 PM, Bryce Harrington wrote: > >>> Signed-off-by: Bryce Harrington > >> > >>

[PATCH weston] ivi-shell: add surface_created listener after launchers

2016-06-17 Thread Ucan, Emre (ADITG/SW1)
Add surface_created listener after the initialization of launchers. Otherwise, surfaces of the launchers will be added to the application layer too. Signed-off-by: Emre Ucan --- ivi-shell/hmi-controller.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ivi-shell/

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

2016-06-17 Thread Pekka Paalanen
On Thu, 7 Apr 2016 14:37:44 +0300 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 en

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

2016-06-17 Thread Pekka Paalanen
On Mon, 7 Mar 2016 18:31:35 +0100 Giulio Camuffo wrote: > To complement on the new resource created signal, this allows to > iterate over the existing resources of a client. > --- > src/wayland-server-core.h | 8 > src/wayland-server.c | 23 +++ > 2 files chan

Re: [PATCH wayland 4/5] Add a resource creation signal

2016-06-17 Thread Pekka Paalanen
On Mon, 7 Mar 2016 18:31:34 +0100 Giulio Camuffo wrote: > --- > src/wayland-server-core.h | 4 > src/wayland-server.c | 20 > 2 files changed, 24 insertions(+) > > diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h > index 4201b2c..9af2481 100644

Re: [PATCH wayland 3/5] Add API to get the list of connected clients

2016-06-17 Thread Pekka Paalanen
On Mon, 7 Mar 2016 18:31:33 +0100 Giulio Camuffo wrote: > --- > src/wayland-server-core.h | 14 + > src/wayland-server.c | 52 > +++ > 2 files changed, 66 insertions(+) > > diff --git a/src/wayland-server-core.h b/src/wayland-server

Re: [PATCH wayland 2/5] Add API to retrieve the interface of a wl_resource

2016-06-17 Thread Giulio Camuffo
2016-06-17 14:09 GMT+03:00 Pekka Paalanen : > On Mon, 7 Mar 2016 18:31:32 +0100 > Giulio Camuffo wrote: > >> --- >> src/wayland-server-core.h | 2 ++ >> src/wayland-server.c | 12 >> 2 files changed, 14 insertions(+) >> >> diff --git a/src/wayland-server-core.h b/src/wayland-s

Re: [PATCH wayland 2/5] Add API to retrieve the interface of a wl_resource

2016-06-17 Thread Pekka Paalanen
On Mon, 7 Mar 2016 18:31:32 +0100 Giulio Camuffo wrote: > --- > src/wayland-server-core.h | 2 ++ > src/wayland-server.c | 12 > 2 files changed, 14 insertions(+) > > diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h > index 1bc4d6b..a4ca350 100644 > --- a/s

Re: [PATCH wayland 1/5] server: add listener API for new clients

2016-06-17 Thread Pekka Paalanen
On Mon, 7 Mar 2016 18:31:31 +0100 Giulio Camuffo wrote: > From: Sungjae Park > > Using display object, Emit a signal if a new client is created. > > In the server-side, we can get the destroy event of a client, > But there is no way to get the created event of it. > Of course, we can get the

Re: [PATCH] Add a new wl_proxy_set_listener function

2016-06-17 Thread Pekka Paalanen
On Sat, 19 Mar 2016 18:14:35 +0200 Giulio Camuffo wrote: > The wl_proxy_add_listener function is ill-named, because it suggests > that a proxy can have many listeners. Instead it can only have one so > deprecate the old function and add a new wl_proxy_set_listener. The > implementation of the new

Re: [PATCH] Add a new wl_proxy_set_listener function

2016-06-17 Thread Pekka Paalanen
On Thu, 16 Jun 2016 14:33:44 -0400 Jonas Ådahl wrote: > On Thu, Jun 16, 2016 at 11:27:31AM -0500, Derek Foreman wrote: > > On 19/03/16 11:14 AM, Giulio Camuffo wrote: > > > The wl_proxy_add_listener function is ill-named, because it suggests > > > that a proxy can have many listeners. Instead i

Re: [PATCH weston 3/3] tests: fix the cursor race in internal-screenshot

2016-06-17 Thread Pekka Paalanen
On Thu, 16 Jun 2016 10:59:21 -0500 Derek Foreman wrote: > On 16/06/16 05:36 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > This fix also depends on "compositor-headless: do not create a seat". > > > > If we lose the race against weston-desktop-shell setting cursors, which > > is ve

Re: [PATCH weston] clients/dmabuf-intel: use three buffers

2016-06-17 Thread Pekka Paalanen
On Mon, 13 Jun 2016 08:14:12 -0500 Yong Bakos wrote: > On Jun 13, 2016, at 6:17 AM, Pekka Paalanen wrote: > > > > From: Pekka Paalanen > > > > Use three buffers like simple-dmabuf-v4l instead of just two. > > > > This is required, because when a frame callback arrives, the just > > committed

Re: [PATCH weston] main: report presentation clock resolution

2016-06-17 Thread Pekka Paalanen
On Wed, 15 Jun 2016 14:28:09 +0200 Hardening wrote: > Le 13/06/2016 13:34, Pekka Paalanen a écrit : > > From: Pekka Paalanen > > > > For debugging weird timing issues. If your clock resolution is > > unexpectedly e.g. 10 ms, you can be sure you will have strange timing > > issues. This is almos

Re: [PATCH weston] compositor-fbdev: drop EGL support

2016-06-17 Thread Pekka Paalanen
On Thu, 16 Jun 2016 10:06:29 -0500 Derek Foreman wrote: > On 13/06/16 06:24 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > EGL code was added to the fbdev backend in > > 4aa756dc7a8d3cf3b4c6f018c3e2a053fff424b0 in 2013, apparently for running > > Weston on libhybris with Android har

Re: [PATCH libinput 0/4] Restore hysteresis for all touchpads

2016-06-17 Thread Hans de Goede
Hi, On 17-06-16 05:17, Peter Hutterer wrote: Already enabled for all touchpads but the ones labelled as precise (which is just the apples and the lenovo *40 and later series anyway). Even with those we still see some unexpected pointer movement (e.g. #94379). The small benefit we get from remov

Re: [PATCH libinput 1/2] test: when creating an abs test device, force the abs->value to the mimimum

2016-06-17 Thread Hans de Goede
Hi, On 16-06-16 06:36, Peter Hutterer wrote: Otherwise the abs->value could lie outside the [min, max] range of the axis. This isn't much of an issue for actual axes but in the case of ABS_MT_SLOT (value 47) it causes errors when libevdev sanitises the event into the allowed slot range. Signed-

Override redirect windows with keyboard grabs on Xwayland

2016-06-17 Thread Olivier Fourdan
Hi all, First of all, sorry for cross posting, but I am not really sure where the issue is to be addressed... I am looking into https://bugs.freedesktop.org/show_bug.cgi?id=96547 and concluded this is actually the same as https://bugzilla.gnome.org/show_bug.cgi?id=752956 Basically, long stor