chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:01 +0000 (10:07 +0100)
commitf08ce65bef386c42d6a1c0171dac612512772c70
treeb4afc6a28b0329b3e422ab395e7e4de0ac5f4115
parent42c23dcd12e2b65f7b16b560cabdaf46bafaefec
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