aboutsummaryrefslogtreecommitdiff
path: root/xwayland/server.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-08-18 07:16:16 -0400
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-08-18 07:16:16 -0400
commitef4baea0e2f799c7bdd2e077dac4174fa31e85df (patch)
treed71e1399e64b9e5bcdda1d52246c90eca15cf150 /xwayland/server.c
parent013f121f455efcc1e68e98c60c74aadfb51fd98e (diff)
Use wl_signal_emit_mutable
Diffstat (limited to 'xwayland/server.c')
-rw-r--r--xwayland/server.c5
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);
}