From e4bde29a9be8e7dbc47be22f31947a97e76165ac Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Sat, 4 May 2024 10:46:05 +0200 Subject: [PATCH] input: set seat to None when device is removed --- src/tasks/input_device.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tasks/input_device.rs b/src/tasks/input_device.rs index 28b53961..b5fa7f1a 100644 --- a/src/tasks/input_device.rs +++ b/src/tasks/input_device.rs @@ -96,5 +96,6 @@ impl DeviceHandler { .input_device_handlers .borrow_mut() .remove(&self.dev.id()); + self.data.set_seat(None); } }