aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput/switch.c')
-rw-r--r--backend/libinput/switch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/libinput/switch.c b/backend/libinput/switch.c
index 2e89ed59..e8c68bef 100644
--- a/backend/libinput/switch.c
+++ b/backend/libinput/switch.c
@@ -2,7 +2,6 @@
#include <libinput.h>
#include <wlr/interfaces/wlr_switch.h>
#include "backend/libinput.h"
-#include "util/signal.h"
const struct wlr_switch_impl libinput_switch_impl = {
.name = "libinput-switch",
@@ -48,5 +47,5 @@ void handle_switch_toggle(struct libinput_event *event,
}
wlr_event.time_msec =
usec_to_msec(libinput_event_switch_get_time_usec(sevent));
- wlr_signal_emit_safe(&wlr_switch->events.toggle, &wlr_event);
+ wl_signal_emit_mutable(&wlr_switch->events.toggle, &wlr_event);
}