Keyboard lockstates and LEDs on X11 backend does not persist across VT switches
Affected version
Current git HEAD.
Bug summary
This issue only appears in Xorg.
Steps to reproduce
- Login with Xorg backend.
- Press Capslock, Numlock and/or Scroll lock.
- Switch to another VT
- Switch back to GNOME.
What happened
Lockstates are lost and LEDs are off.
What did you expect to happen
Lockstates and LEDs are restored after switched from another VT. Wayland backend doesn't have this issue.