, 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.
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
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
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
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
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-
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
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
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
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
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
11 matches
Mail list logo