gdm: session button should be hidden for the logged-in user
Produce Steps:
- Login "User1" with session "GNOME"
- Add a new user "User2"
- Click "Switch Users"
- In the GDM click the "User1" which is already logged-in.
Actual Result:
There is a gear icon next to the "Unlock" button
Expected Result:
In the unlock screen, user should not be allowed to change session since it's already login
Additional Info:
This issue happens on
wayland
, and doesn't happen on Xorg.