Implement the XDG session management protocol, in order to allow clients to ask the compositor to save window state for them. This works via creating a xdg_session_v1 object...
Yes that is amazing. As someone who just switched over from plasma, this feature is really something I miss, and it takes me 10 minutes after each reboot to rearrange everything. Very welcome change.