Correctly apply initial xdg-shell double buffered state

Some double buffered state, e.g. min and max size, should be applied
when the initial state is committed.
2 jobs for !318 with work/zzag/fix-initial-state in 3 minutes and 29 seconds (queued for 5 seconds)
latest detached
Status Name Job ID Coverage
  Build
passed freebsd_qt515 #152727
FreeBSD

00:03:00

passed suse_tumbleweed_qt515 #152726
Linux

00:02:50