aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Honnef <dominik@honnef.co>2020-11-30 20:41:35 +0100
committerSimon Ser <contact@emersion.fr>2020-12-07 12:24:56 +0100
commit431ec52b9c20efae7f50ba5b6fa6a2aa56852ac3 (patch)
treefb55c1eaa45d8918710776911323287cdb9df3d0 /include
parent325cba6414b34359063b7aa2a9f60304da9afef5 (diff)
xwayland: use pipe instead of SIGUSR1 to signal readiness
Closes: https://github.com/swaywm/wlroots/issues/2154
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h5
1 files changed, 1 insertions, 4 deletions
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);