mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 23:06:00 +01:00
parent
e6cf643f5a
commit
1bc05b1f9f
1 changed files with 2 additions and 2 deletions
|
@ -132,9 +132,9 @@ static bool ensureSocketDirExists() {
|
||||||
|
|
||||||
static std::string getSocketPath(int display, bool isLinux) {
|
static std::string getSocketPath(int display, bool isLinux) {
|
||||||
if (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) {
|
static bool openSockets(std::array<int, 2>& sockets, int display) {
|
||||||
|
|
Loading…
Reference in a new issue