sway/input: follow up wlroots input device events renaming

This commit is contained in:
Simon Zeni 2022-03-09 16:50:20 -05:00 committed by Kirill Primak
parent 49b3ac9a2c
commit 440d0bc22d
10 changed files with 77 additions and 73 deletions

View file

@ -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);