Re: [PATCH weston 7/7] text: Fix text-input for multi-seat

2015-01-10 Thread Jan Arne Petersen
On Fri Dec 05 2014 at 10:47:05 PM Derek Foreman wrote: > Multi-seat configurations currently break the text-backend, crashing > weston. This is an attempt to clean up any crashes and have somewhat > sensible input panel behavior with multi-seat. > > Signed-off-by: Derek Foreman > --- > src/tex

Re: [PATCH v1] Added touch support to wayland backend

2015-01-10 Thread Imran Zaman
Can anyone please comment on it? :) BR imran On Wed, Dec 17, 2014 at 4:11 PM, Imran Zaman wrote: > Nested westons (with wayland backend as child weston) is one possible > use case for the needed touch support. > > Signed-off-by: Imran Zaman > --- > src/compositor-wayland.c | 59 >

[PATCH v2] xwm: tell the shell the pid of the X clients

2015-01-10 Thread Giulio Camuffo
All the surfaces from all the X clients share the same wl_client so wl_client_get_credentials can't be used to get the pid of the X clients. The shell may need to know the pid to be able to associate a surface with e.g. a DBus service. --- src/compositor.h | 1 + xwayland/window-manager.

[PATCH weston] xwm: tell the shell the pid of the X clients

2015-01-10 Thread Giulio Camuffo
All the surfaces from X all the clients share the same wl_client so wl_client_get_credentials can't be used to get the pid of the X clients. The shell may need to know the pid to be able to associate a surface with e.g. a DBus service. --- src/compositor.h | 1 + xwayland/window-manager.c

Re: [PATCH wayland v2 3/3] tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled

2015-01-10 Thread Marek Chalupa
On 10 January 2015 at 01:05, Bryce Harrington wrote: > This fixes a regression in the testsuite since c3653f7f, where four of > the timeout tests fail with "Timeouts suppressed" messages. > > The timeouts are being suppressed because the testsuite is erroneously > detecting that a debugger is att

Re: [PATCH wayland 2/2 v2] tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled

2015-01-10 Thread Marek Chalupa
On 9 January 2015 at 22:24, Bryce Harrington wrote: > On Fri, Jan 09, 2015 at 11:33:57AM +0100, Marek Chalupa wrote: > > Yeah and one more thing: > > Btw, any reason this is offlist? > > > PR_SET_PTRACER is since Linux 3.4. What happens with older kernels or > with > > Yama disabled? > > If I und

Re: [PATCH wayland 2/2 v2] tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled

2015-01-10 Thread Marek Chalupa
On 9 January 2015 at 23:11, Kees Cook wrote: > Hi Bryce, > > On Fri, Jan 09, 2015 at 01:24:39PM -0800, Bryce Harrington wrote: > > On Fri, Jan 09, 2015 at 11:33:57AM +0100, Marek Chalupa wrote: > > > Yeah and one more thing: > > > > Btw, any reason this is offlist? > > > No, just clicked on the

Re: [PATCH wayland 2/2 v2] tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled

2015-01-10 Thread Marek Chalupa
Just resending to wayland-devel... On 9 January 2015 at 11:26, Marek Chalupa wrote: > > > On 7 January 2015 at 21:34, Bryce Harrington > wrote: > >> This fixes a regression in the testsuite since c3653f7f, where four of >> the timeout tests fail with "Timeouts suppressed" messages. >> >> The ti