- Client Role - _DSME_RoleWindowManager : I don't like the part suggesting the session manager should ensure there's only one WM running. First of all, there's already a way how to make sure WMs don't clash, the proper way being the manager selection described in ICCCM section 4.3, the less proper but still working way being the fact that only one client can select for the essential root window events. Moreover, suppose you run non-Xinerama dualhead with one WM per screen - the session manager would actually break things here if it tried (incorrectly) to ensure there's only one WM running.Okay, I'll remove that part. I suppose a similiar problem could happen with
- Also, I have a special hack in ksmserver+kwin for session saving, making kwin perform saving in phases 0 and 2. There's no phase 0 of course, but the WM actually needs to perform saving both before and after other apps save - before if you want to save active window, active virtual desktop or stacking order (because the 'save?' dialogs may change that), and after ... well, that's obvious. Could such ordering be guaranteed?The most tempting solution, I think (for me at least), is to add something that
- If I understand the proposal, all things that should be started by the session manager have to register with it and save in the session. And, in order to do that, they need to be running I guess. And in order to run, they need to be started by the session manager ... - so, how will they be run for the first time?Yea, msm currently has a default session file that contains enough information
Well once the user has the default session started up, they have a usableif it will have some predefined defaults specific to its desktop, what's the point of standardizing this?
- Could you perhaps describe how it works in GNOME now?Mark may be better at answering this than me, but here is how I think it all
BTW, the ordering in the proposal seems a bit strange to me as well. Why should the WM be started even before setup apps?Hmm. I guess setup apps don't need a window manager and so they
And wouldn't it be actually better to use something like our start-after? You don't actually care when exactly the app will be started, you just know it has to be possibly started after something.I'm not opposed to making it all relative instead of by doing absolute priorities.