Gnome merges XDG session management wayland protocol (but disabled in Gnome 47 by default)
Gnome merges XDG session management wayland protocol (but disabled in Gnome 47 by default)

gitlab.gnome.org
Implement XDG session management wayland protocol (!3825) · Merge requests · GNOME / mutter · GitLab

Is it about restoring window position and size?
Yes
Does it also restore the content of unsaved files of the application? If not, I'll prefer
systemctl hibernate
. I wonder, what this new feature is for. Gnome had it in the past, MacOS has it, but I don't see what the use case is.