Handle window geometry with a new struct.

4 jobs for feature/persist-window-geometry in 31 minutes and 4 seconds (queued for 1 minute and 31 seconds)