From e637b9b0f5e88ed5c9fab5889f91ed5dd6c898aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 31 Dec 2013 14:45:50 +0100 Subject: [PATCH] udev-seat: Don't notify about removal when destroying context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/udev-seat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/udev-seat.c b/src/udev-seat.c index b3555542..ff78bfd1 100644 --- a/src/udev-seat.c +++ b/src/udev-seat.c @@ -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);