Skip to content

staging: Add xdg-session-management protocol

For a variety of cases it's desirable to have a method for negotiating the restoration of previously-used states for a client's windows. This helps for e.g., a compositor/client crashing (definitely not due to bugs) or a backgrounded client deciding to temporarily destroy its surfaces in order to conserve resources.

This protocol adds a method for managing such negotiation and is loosely based on the Enlightenment "session recovery" protocol which has been implemented and functional for roughly two years.

Signed-off-by: Mike Blumenkrantz zmike@osg.samsung.com Signed-off-by: Jonas Ådahl jadahl@gmail.com


This is the exact same version as was posted in https://lists.freedesktop.org/archives/wayland-devel/2018-February/037236.html . The link to the blog post was removed, as it did no longer point to the blog post in question.

Posting it here now for better visibility, as it came up in a discussion with @davidedmundson . Cc @zmike.

Edited by Jonas Ådahl

Merge request reports