aboutsummaryrefslogtreecommitdiff
path: root/seatd-launch/seatd-launch.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-09-02 23:03:20 +0200
committerKenny Levinsen <kl@kl.wtf>2021-09-07 22:24:24 +0200
commit60c370d4ecdd0645738a6532bed1c9647e2224cb (patch)
tree66f604c7982b167f1ceca5da53ee0b99b65595a6 /seatd-launch/seatd-launch.c
parent29a6832ca0354f9bdc868533f9399dc3a0fb20e3 (diff)
seat: Allow new clients when active is pending ack
New clients could only be added to a VT bound seat if there were no "active" client, regardless of its actual state. This meant that if one switched from an "active" VT to an "inactive" VT, the seat would be blocked while the "active" client was in CLIENT_PENDING_DISABLE, causing new clients to possibly fail should the old client take its time with the ack. Instead, allow new clients to also be added if there is an active client whose state is CLIENT_PENDING_DISABLE, and there is no client with the new VT as its session ID.
Diffstat (limited to 'seatd-launch/seatd-launch.c')
0 files changed, 0 insertions, 0 deletions