chiark / gitweb /
login: set pos-slot to fallback on pos-eviction
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 25 Feb 2014 12:08:24 +0000 (13:08 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 25 Feb 2014 12:10:42 +0000 (13:10 +0100)
commit3e6b205f81e743c7354ccbc69eb45afbdbebe2dc
treef34e84e45be336e7b4b9fc40c54fe09dc8421f7f
parent949138ccc3417748b0978980e4a1c67955dd4ba4
login: set pos-slot to fallback on pos-eviction

If we evict a session position, we open the position slot for future
sessions. However, there might already be another session on the same
position if both were started on the same VT. This is currently done if
gdm spawns the session on its own Xserver.

Hence, look for such a session on pos-eviction and claim the new slot
immediately.
src/login/logind-seat.c