summaryrefslogtreecommitdiff
path: root/src/logind-device.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-29 03:12:23 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-29 03:12:23 +0200
commitb668e06428a996348f81b352db3a1084a4e9adf5 (patch)
treee7cdd1abaf20e06d59b4a195e193c67c3f2e7986 /src/logind-device.c
parent4fa4c2ac6ecb064c2a6c8677f7660534002f8cfe (diff)
dbus: add FlushDevices() bus call to reset all seat assignments
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;
}