]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-seat.c
logind: never select closing sessions for a VT
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 16 Jul 2015 16:46:12 +0000 (18:46 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 16 Jul 2015 16:46:12 +0000 (18:46 +0200)
commit281033284352ed7651e84d228dad780dc2ef299f
treeff884fc25f317c9b74a28f2a62a74f7dcfa101f3
parent304ae2b9a19cd014a7f93830103bb4694efd841f
logind: never select closing sessions for a VT

If a session is in closing state (and already got rid of its VT), then
never re-select it for that VT. There is no reason why we should grant
something to a session that is already going away *AND* already got rid
of exactly that.
src/login/logind-seat.c