Remove redundant signal in seat.c

This commit is contained in:
Ryan Walklin 2018-11-25 14:43:22 +01:00 committed by Ryan Walklin
parent 2a7edfa24c
commit cc656670b2

View file

@ -751,8 +751,6 @@ static void seat_add_switch(struct roots_seat *seat,
lid_switch->toggle.notify = handle_switch_toggle; lid_switch->toggle.notify = handle_switch_toggle;
wl_signal_add(&lid_switch->device->lid_switch->events.toggle, &lid_switch->toggle); wl_signal_add(&lid_switch->device->lid_switch->events.toggle, &lid_switch->toggle);
wl_signal_add(&lid_switch->device->events.destroy, &lid_switch->device_destroy);
} }
static void handle_touch_destroy(struct wl_listener *listener, void *data) { static void handle_touch_destroy(struct wl_listener *listener, void *data) {