From 431ec52b9c20efae7f50ba5b6fa6a2aa56852ac3 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Mon, 30 Nov 2020 20:41:35 +0100 Subject: xwayland: use pipe instead of SIGUSR1 to signal readiness Closes: https://github.com/swaywm/wlroots/issues/2154 --- include/wlr/xwayland.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 5488971a..fd14ff25 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -22,7 +22,7 @@ struct wlr_xwayland_cursor; struct wlr_xwayland_server { pid_t pid; struct wl_client *client; - struct wl_event_source *sigusr1_source; + struct wl_event_source *pipe_source; int wm_fd[2], wl_fd[2]; time_t server_start; @@ -236,9 +236,6 @@ void wlr_xwayland_server_destroy(struct wlr_xwayland_server *server); * * The server supports a lazy mode in which Xwayland is only started when a * client tries to connect. - * - * Note: wlr_xwayland will setup a global SIGUSR1 handler on the compositor - * process. */ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, struct wlr_compositor *compositor, bool lazy); -- cgit v1.2.3