Re: [PATCH wayland v2 1/2] Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths.

2015-08-06 Thread Davide Bettio
, you don't need XDG_RUNTIME_DIR to be set. v3 fixes this issue. The same XDG_RUNTIME_DIR thing in this function. This is going to be changed by another patch so if you don't mind I'm not going to change this if all the other patches are going to be accepted.

Re: [PATCH wayland v3 1/2] Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths.

2015-08-06 Thread Davide Bettio
Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths. For example WAYLAND_DISPLAY="/my/path/wayland-2" or connect_to_socket("/my/path/wayland-2"). Signed-off-by: Davide Bettio --- doc/man/wl_display_connect.xml | 8 src/wayland-cli

[PATCH wayland v2 1/2] Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths.

2015-07-29 Thread Davide Bettio
Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths. For example WAYLAND_DISPLAY="/my/path/wayland-2" or connect_to_socket("/my/path/wayland-2"). Signed-off-by: Davide Bettio --- doc/man/wl_display_connect.xml | 8 src/wayland-cli

[PATCH wayland v2] Introduce WAYLAND_SERVER_SOCKET_DIR to change socket directory without changing XDG_RUNTIME_DIR.

2015-07-29 Thread Davide Bettio
envvar is ignored when WAYLAND_SERVER_SOCKET is set to an absolute path. Signed-off-by: Davide Bettio --- src/wayland-server.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index d73792a..3f1d74f 100644 --- a/src

Re: [PATCH wayland 2/2] Introduce WAYLAND_SERVER_SOCKET to change the path where the server will create the socket.

2015-07-28 Thread Davide Bettio
Introduce WAYLAND_SERVER_SOCKET to change the path where the server will create the socket. It will be possible for a nested compositor to offer a socket located on WAYLAND_SERVER_SOCKET path while connecting to the main compositor socket that is located on WAYLAND_DISPLAY path. --- src/waylan

[PATCH wayland 1/2] Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths.

2015-07-28 Thread Davide Bettio
Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths. For example WAYLAND_DISPLAY="/my/path/wayland-2" or connect_to_socket("/my/path/wayland-2"). --- doc/man/wl_display_connect.xml | 8 src/wayland-client.c | 22 +- src/wayland-

[PATCH wayland] Introduce WAYLAND_SERVER_SOCKET_DIR to change socket directory without changing XDG_RUNTIME_DIR.

2015-07-28 Thread Davide Bettio
envvar is ignored when WAYLAND_SERVER_SOCKET is set to an absolute path. Signed-off-by: Davide Bettio --- src/wayland-server.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index d73792a..5ed4a8b 100644 --- a/src

[PATCH 3/3] Introduce WAYLAND_SERVER_SOCKET_DIR to change socket directory without changing XDG_RUNTIME_DIR. This might be useful to change socket directory in case wl_display_add_socket_auto is used.

2015-03-03 Thread Davide Bettio
Signed-off-by: Davide Bettio --- src/wayland-server.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index 05e9c07..2922e41 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -1093,9 +1093,12

[PATCH 1/3] Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths. For example WAYLAND_DISPLAY="/my/path/wayland-2" or connect_to_socket("/my/path/wayland-2").

2015-03-03 Thread Davide Bettio
Signed-off-by: Davide Bettio --- doc/man/wl_display_connect.xml | 8 src/wayland-client.c | 22 +- src/wayland-server.c | 23 ++- 3 files changed, 39 insertions(+), 14 deletions(-) diff --git a/doc/man/wl_display_connect.xml

[PATCH 2/3] Introduce WAYLAND_SERVER_SOCKET to change the path where the server will create the socket. It will be possible for a nested compositor to offer a socket located on WAYLAND_SERVER_SOCKET p

2015-03-03 Thread Davide Bettio
Signed-off-by: Davide Bettio --- src/wayland-server.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index eefbe35..05e9c07 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -1216,9 +1216,9

[PATCH wayland] extend WAYLAND_DISPLAY semantic and make server socket path configurable using environment

2015-02-24 Thread Davide Bettio
commit e8b37de8e084d4e50a12bd2911657d54c0ebd9ed Author: Davide Bettio Date: Tue Feb 24 12:40:49 2015 +0100 * Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths. For example WAYLAND_DISPLAY="/my/path/wayland-2" or connect_to_socket("/my