From 84d2f30faae963cdf9ec32ec015428c867ad1049 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Sat, 20 Jun 2020 11:03:23 -0600 Subject: xwayland: Don't discard ready signals The xwayland ready signals are used to do initial setup like starting xwm. Discarding the signals means that the handler functions will not be called in the case that Xwayland is restarted and thus, xwm managed clients fail. Fixes #2174." --- xwayland/xwayland.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xwayland/xwayland.c') diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index a28cd402..ccec7c67 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -55,8 +55,6 @@ static void handle_server_ready(struct wl_listener *listener, void *data) { } wlr_signal_emit_safe(&xwayland->events.ready, NULL); - /* ready is a one-shot signal, fire and forget */ - wl_signal_init(&xwayland->events.ready); } void wlr_xwayland_destroy(struct wlr_xwayland *xwayland) { -- cgit v1.2.3