summaryrefslogtreecommitdiff
path: root/src/logind-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logind-device.c')
-rw-r--r--src/logind-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logind-device.c b/src/logind-device.c
index 31afa4ff2a..bbd370fbff 100644
--- a/src/logind-device.c
+++ b/src/logind-device.c
@@ -70,6 +70,7 @@ void device_detach(Device *d) {
if (d->seat)
LIST_REMOVE(Device, devices, d->seat->devices, d);
+ seat_add_to_gc_queue(d->seat);
d->seat = NULL;
}