Open ryanabx opened 8 months ago
There isn't really an identifier to store here for applications with multiple windows, assuming every application only has one window (so the app_id as a sole identifier would work) is not a good solution imo.
So what this needs first is either (or both) of these protocols (and applications making use of them):
This currently blocks a bunch of work on restoring window state, we are very much interested in.
Interesting! I'll take a look :)
I'm sure it's been discussed extensively over there, and the more I'm thinking about it the more I realize my assumption of the same top level always being open first doesn't have to be necessarily true every time.
If apps were previously maximized before closing, they should be remembered as being maximized. I think gnome-shell does this, or maybe they just assume for most apps to be maximized by default.
This could be implemented as a config file saved to .cache or somewhere else, just mapping appid to state perhaps.