Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-11-25 Thread Pekka Paalanen
On Tue, 25 Nov 2014 09:02:22 +0200 Jussi Laako jussi.la...@linux.intel.com wrote: On 19.11.2014 12:56, Pekka Paalanen wrote: I have very hard time deciding if we should allow the environment to overwrite the server and client assumptions on where the socket is. It would be easier for me to

Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-11-25 Thread Jussi Laako
On 25.11.2014 15:01, Pekka Paalanen wrote: However, all upstream cases will use XDG_RUNTIME_DIR, which probably is not appropriate for your use case, depending on how you actually start things. That's why I thought providing an alternative could be useful. It still supports XDG_RUNTIME_DIR

Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-11-24 Thread Jussi Laako
On 19.11.2014 12:56, Pekka Paalanen wrote: I have very hard time deciding if we should allow the environment to overwrite the server and client assumptions on where the socket is. It would be easier for me to accept new API functions that operate with absolute paths or existing fds explicitly,

Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-11-19 Thread Imran Zaman
... corrected jussi email address.. BR irman On Wed, Nov 19, 2014 at 12:56 PM, Pekka Paalanen ppaala...@gmail.com wrote: On Wed, 15 Oct 2014 17:36:27 +0300 Imran Zaman imran.za...@gmail.com wrote: Hi support for adjusting socket access rights to allow group of users to connect to the

Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-11-19 Thread Marek Chalupa
Hi, maybe I just don't understand how this should work... You have system compositor which spawns some other wayland compositors? Then you can specify these (or any other) environment vars in the compositor, the child compositors will inherit these... On 19 November 2014 12:52, Imran Zaman

Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-11-19 Thread Pekka Paalanen
On Wed, 19 Nov 2014 14:14:34 +0100 Marek Chalupa mchqwe...@gmail.com wrote: Hi, maybe I just don't understand how this should work... You have system compositor which spawns some other wayland compositors? Then you can specify these (or any other) environment vars in the compositor, the

[PATCH wayland 2/2] support specifying custom directories for the client and server

2014-10-15 Thread Imran Zaman
Hi support for adjusting socket access rights to allow group of users to connect to the socket. This is used for nested compositor architectures. - diff --git a/src/wayland-server.c b/src/wayland-server.c index ce1eca8..b1ca5e6 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@

Re: [PATCH wayland 2/2] support specifying custom directories for the client and server

2014-10-15 Thread Bryce Harrington
On Wed, Oct 15, 2014 at 05:36:27PM +0300, Imran Zaman wrote: Hi support for adjusting socket access rights to allow group of users to connect to the socket. This is used for nested compositor architectures. - diff --git a/src/wayland-server.c b/src/wayland-server.c index