aboutsummaryrefslogtreecommitdiff
path: root/sway/input/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/switch.c')
-rw-r--r--sway/input/switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/switch.c b/sway/input/switch.c
index fc296d18..af5a2385 100644
--- a/sway/input/switch.c
+++ b/sway/input/switch.c
@@ -77,7 +77,7 @@ static void execute_binding(struct sway_switch *sway_switch) {
static void handle_switch_toggle(struct wl_listener *listener, void *data) {
struct sway_switch *sway_switch =
wl_container_of(listener, sway_switch, switch_toggle);
- struct wlr_event_switch_toggle *event = data;
+ struct wlr_switch_toggle_event *event = data;
struct sway_seat *seat = sway_switch->seat_device->sway_seat;
seat_idle_notify_activity(seat, IDLE_SOURCE_SWITCH);