mirror of
https://github.com/i3/i3.git
synced 2026-02-15 16:45:40 +00:00
complete-run: close the old socket fd
This commit is contained in:
@ -75,6 +75,7 @@ sub activate_i3 {
|
||||
if (fileno($socket) != 3) {
|
||||
POSIX::close(3);
|
||||
POSIX::dup2(fileno($socket), 3);
|
||||
POSIX::close(fileno($socket));
|
||||
}
|
||||
|
||||
# Construct the command to launch i3. Use maximum debug level, disable
|
||||
|
||||
Reference in New Issue
Block a user