chiark / gitweb /
logind: prefer new sessions over older ones on VT switches
[elogind.git] / src / login / logind-seat.c
index 72bcfc4..3daaf00 100644 (file)
@@ -473,7 +473,7 @@ void seat_claim_position(Seat *s, Session *session, unsigned int pos) {
         seat_evict_position(s, session);
 
         session->position = pos;
-        if (pos > 0 && !s->positions[pos])
+        if (pos > 0)
                 s->positions[pos] = session;
 }