diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-18 07:16:16 -0400 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-18 07:16:16 -0400 |
commit | ef4baea0e2f799c7bdd2e077dac4174fa31e85df (patch) | |
tree | d71e1399e64b9e5bcdda1d52246c90eca15cf150 /xwayland/server.c | |
parent | 013f121f455efcc1e68e98c60c74aadfb51fd98e (diff) |
Use wl_signal_emit_mutable
Diffstat (limited to 'xwayland/server.c')
-rw-r--r-- | xwayland/server.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xwayland/server.c b/xwayland/server.c index 0086ad65..75b919b4 100644 --- a/xwayland/server.c +++ b/xwayland/server.c @@ -16,7 +16,6 @@ #include <wlr/util/log.h> #include <wlr/xwayland.h> #include "sockets.h" -#include "util/signal.h" #include "xwayland/config.h" static void safe_close(int fd) { @@ -281,7 +280,7 @@ static int xserver_handle_ready(int fd, uint32_t mask, void *data) { .server = server, .wm_fd = server->wm_fd[0], }; - wlr_signal_emit_safe(&server->events.ready, &event); + wl_signal_emit_mutable(&server->events.ready, &event); /* We removed the source, so don't need recheck */ return 0; @@ -432,7 +431,7 @@ void wlr_xwayland_server_destroy(struct wlr_xwayland_server *server) { server_finish_process(server); server_finish_display(server); - wlr_signal_emit_safe(&server->events.destroy, NULL); + wl_signal_emit_mutable(&server->events.destroy, NULL); free(server); } |