aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArisa Snowbell <[email protected]>2024-09-19 12:08:02 +0200
committerGitHub <[email protected]>2024-09-19 11:08:02 +0100
commit1bc05b1f9fd55f2a7371082e6914622e4584ed54 (patch)
tree801f7b1d203ef2368a4b71aa94a6fdc453586c15
parente6cf643f5ab1c1545fb858ab1fd9d7538ef9e0f3 (diff)
downloadHyprland-1bc05b1f9fd55f2a7371082e6914622e4584ed54.tar.gz
Hyprland-1bc05b1f9fd55f2a7371082e6914622e4584ed54.zip
xwayland: use proper path for the XWayland sockets (#7852)
fixes #7849
-rw-r--r--src/xwayland/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xwayland/Server.cpp b/src/xwayland/Server.cpp
index 97caf9e3..5ad9ff23 100644
--- a/src/xwayland/Server.cpp
+++ b/src/xwayland/Server.cpp
@@ -132,9 +132,9 @@ static bool ensureSocketDirExists() {
static std::string getSocketPath(int display, bool isLinux) {
if (isLinux)
- return std::format("/tmp/.X11-unix{}", display);
+ return std::format("/tmp/.X11-unix/X{}", display);
- return std::format("/tmp/.X11-unix{}_", display);
+ return std::format("/tmp/.X11-unix/X{}_", display);
}
static bool openSockets(std::array<int, 2>& sockets, int display) {