From c18559fda98989574856e4aa095b0875eda674b3 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sun, 20 Apr 2025 21:09:57 +0200 Subject: Use pthread_atfork() to restore signals and NOFILE limit This ensures these functions are always called (even when a library such as wlroots or libc perform the fork) and removes the need to manually call them. --- include/sway/server.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/sway/server.h b/include/sway/server.h index 66f0967c..e7d7094f 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -164,9 +164,6 @@ void server_fini(struct sway_server *server); bool server_start(struct sway_server *server); void server_run(struct sway_server *server); -void restore_nofile_limit(void); -void restore_signals(void); - void handle_new_output(struct wl_listener *listener, void *data); void handle_idle_inhibitor_v1(struct wl_listener *listener, void *data); -- cgit v1.2.3