chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: user parse_uid() wherever applicable
[elogind.git]
/
src
/
logind-seat.c
diff --git
a/src/logind-seat.c
b/src/logind-seat.c
index b8f1f607d09f8f13eab19849aed3db306d966784..3cf3958c8d47330d13cac925573238713a54ef55 100644
(file)
--- a/
src/logind-seat.c
+++ b/
src/logind-seat.c
@@
-446,10
+446,10
@@
int seat_get_idle_hint(Seat *s, dual_timestamp *t) {
return idle_hint;
}
return idle_hint;
}
-int seat_check_gc(Seat *s) {
+int seat_check_gc(Seat *s
, bool drop_not_started
) {
assert(s);
assert(s);
- if (!s->started)
+ if (
drop_not_started &&
!s->started)
return 0;
if (seat_is_vtconsole(s))
return 0;
if (seat_is_vtconsole(s))