mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-21 02:50:29 +00:00
.github
config
distributions
licenses
packages
addons
audio
compress
databases
debug
devel
emulation
graphics
lakka
lang
linux
linux-driver-addons
linux-firmware
mediacenter
multimedia
network
oem
print
python
rust
security
sysutils
testing
textproc
tools
virtual
wayland
compositor
sway
config
patches
sway-100.01-static-ipc-socket.patch
sway-100.02-allow-running-as-root.patch
sway-100.03-do-not-use-git-version.patch
profile.d
scripts
system.d
package.mk
lib
libinput
libxkbcommon
mtdev
util
wayland
wayland-protocols
waylandpp
weston
web
x11
packages.mk.addon_template
packages.mk.template
readme.md
projects
scripts
tools
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Makefile
README.md
build_all.sh
create_tar.sh
get_libretro_tarball.sh
libretro_update.sh
pkg_all.sh
12 lines
370 B
Diff
12 lines
370 B
Diff
--- a/sway/ipc-server.c
|
|
+++ b/sway/ipc-server.c
|
|
@@ -138,7 +138,7 @@ struct sockaddr_un *ipc_user_sockaddr(vo
|
|
dir = "/tmp";
|
|
}
|
|
if (path_size <= snprintf(ipc_sockaddr->sun_path, path_size,
|
|
- "%s/sway-ipc.%u.%i.sock", dir, getuid(), getpid())) {
|
|
+ "%s/sway-ipc.%u.sock", dir, getuid())) {
|
|
sway_abort("Socket path won't fit into ipc_sockaddr->sun_path");
|
|
}
|
|
|