400 – VNC numlock and capslock sync
Summary
Backwards compatibility: * A new client connecting to an old server should not see any change in behaviour compared to an old client * An old client (or Web Access) connecting to a new server should get the correct CapsLock and NumLock state in the session whenever A-Z is used, or keypad 0-9 (when Shift isnt pressed) New functionality: * The server state should be set to the client state on connect * The server state should be set to the client state when the client regains focus * Pressing NumLock/CapsLock/ScrollLock should toggle server state (assuming that lock key is configured in the server layout) * Changes to server state should change client state when the client has focus, and be ignored when the client doesnt have focus * Server ScrollLock state should be unaffected when a macOS client is used (macOS doesnt have ScrollLock)