Re: [PATCH weston v6 2/2] window : compare version and call appropriate destructor

2014-10-20 Thread Bill Spitzak
On 10/20/2014 01:01 AM, Giulio Camuffo wrote: + d->data_device_manager_version = MIN(version, 2); d->data_device_manager = - wl_registry_bind(registry, id, -&wl_data_device_manager_interface, 1); +

Re: Re: [PATCH weston v6 2/2] window : compare version and call appropriate destructor

2014-10-20 Thread Giulio Camuffo
2014-10-20 14:35 GMT+03:00 Kabeer Ahmed Khan : > Hey Giulio > > Thank You for your comments.I am already doing > > d->data_device_manager_version = MIN(version, 2); > > > > So comparing version while binding shouldn't be necessary. > > Thank You > Ah right, sorry. > > > --- *Original Messag

Re: [PATCH 2/2] Support for adjusting socket access rights to allow group of users to connect to the socket.

2014-10-20 Thread Daniel Stone
Hi, On 20 October 2014 16:06, Jussi Laako wrote: > On 20.10.2014 17:26, Daniel Stone wrote: > >> Makes sense, although you can already enforce isolation with a single >> shared compositor ... >> > > Only weston can access the DRM compositor socket since it's the only one > having group privilege

Re: [PATCH 2/2] Support for adjusting socket access rights to allow group of users to connect to the socket.

2014-10-20 Thread Jussi Laako
On 20.10.2014 17:26, Daniel Stone wrote: Makes sense, although you can already enforce isolation with a single shared compositor ... Only weston can access the DRM compositor socket since it's the only one having group privileges for doing it. So each user has their own contained environment.

Re: [PATCH 2/2] Support for adjusting socket access rights to allow group of users to connect to the socket.

2014-10-20 Thread Daniel Stone
Hi, On 20 October 2014 15:19, Jussi Laako wrote: > On 17.10.2014 20:00, Jason Ekstrand wrote: > >> Could you please provide a little more explanation than that. What kind >> of nesting are you doing? >> > > We have one system compositor using DRM backend and then nested > compositors for each u

Re: [PATCH 2/2] Support for adjusting socket access rights to allow group of users to connect to the socket.

2014-10-20 Thread Jussi Laako
On 17.10.2014 20:00, Jason Ekstrand wrote: On Thu, Oct 16, 2014 at 9:23 AM, Imran Zaman mailto:imran.za...@gmail.com>> wrote: This is used for nested compositor architectures. Could you please provide a little more explanation than that. What kind of nesting are you doing? We have one s

Re: Re: [PATCH weston v6 2/2] window : compare version and call appropriate destructor

2014-10-20 Thread Kabeer Ahmed Khan
Title: Samsung Enterprise Portal mySingle Hey Giulio Thank You for your comments.I am already doing d->data_device_manager_version = MIN(version, 2);   So comparing version while binding shouldn't be necessary. Thank You   --- Original Message --- Sender : Giulio Camuffo Date

Re: Patch for RPI crash

2014-10-20 Thread Daniel Stone
Hi, On 9 October 2014 10:37, Yves De Muyter wrote: > Here is a fix for an issue that pops up here when I close a window on a > Raspberry-pi that is using GLES2 to draw contents. > It also reproducible with the clients/simple-egl application by simply > pressing 'esc' on the window (closes the wi

Re: [PATCH weston v6 2/2] window : compare version and call appropriate destructor

2014-10-20 Thread Giulio Camuffo
2014-10-20 9:25 GMT+03:00 : > From: kabeer khan > > Signed-off-by: kabeer khan > --- > clients/window.c | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) > > diff --git a/clients/window.c b/clients/window.c > index 139c7f9..c8ed9a2 100644 > --- a/clients/window.c > +++ b/