autostart: preserve last window state

Use the --restore-last-window-state option in the autostart
.desktop file in order to autostart the client in the same
state as when it was quit.

The use case is that if users log-out with their client in
a hidden state, when they log back in, it should still be
hidden.

Issue: #78993
Change-Id: I43e5c27e14749dde9cc851f29560f88263d6c9a8
2 files changed