mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
f64b7e71d4
After adding pid to the socket path the `--get-socketpath` command broke because it doesn't know the pid of the running instance. Fix this by setting and querying `SWAYSOCK`. Also ignore `SWAYSOCK` upon normal startup if a socket exists at that location (ie. from another sway instance), and don't overwrite `I3SOCK` if it exists either. |
||
---|---|---|
.. | ||
commands.c | ||
config.c | ||
container.c | ||
debug_log.c | ||
focus.c | ||
handlers.c | ||
input_state.c | ||
ipc.c | ||
layout.c | ||
main.c | ||
output.c | ||
readline.c | ||
resize.c | ||
stringop.c | ||
util.c | ||
workspace.c |