udev-seat: Don't notify about removal when destroying context

As events will just be destroyed before leaving the libinput scope
during destruction, don't waste time on queueing them.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2013-12-31 14:45:50 +01:00
parent e92b996cff
commit e637b9b0f5

View file

@ -276,7 +276,6 @@ udev_input_destroy(struct udev_input *input)
udev_input_disable(input);
list_for_each_safe(seat, next, &input->base.seat_list, link) {
notify_removed_seat(seat);
libinput_seat_unref(seat);
}
udev_unref(input->udev);