Skip to content

Commit

Permalink
Xwayland complains that -listen is deprecated, use -listenfd inst…
Browse files Browse the repository at this point in the history
…ead (#3491)
  • Loading branch information
AlanGriffiths authored Jul 18, 2024
2 parents 953de04 + 644cca5 commit 6842d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/frontend_xwayland/xwayland_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void exec_xwayland(
for (auto const& fd : spawner.socket_fds())
{
mf::XWaylandSpawner::set_cloexec(fd, false);
args.push_back("-listen");
args.push_back("-listenfd");
// strdup() may look like a leak, but execvp() will trash all resource management
args.push_back(strdup(std::to_string(fd).c_str()));
}
Expand Down

0 comments on commit 6842d73

Please sign in to comment.