Colomban Wendling wrote:
So I would like to get the old behavior back. I see 2 solutions:
- remove this patch;
- add an option to choose whether we want one instance per workspace or
not.
I think nobody wants solution 1, so let's forget about it and investigate a bit solution 2.
I'm fine with solution 2, would not be fine with solution 1 :-).
- this is the most complicated but also the one that seems to have the
less flaws: still add workspace suffix, but when checking if there is a running instance to which send the requests, ignore that workspace information if the pre-workspace option is not checked. It needs to list the available socket(s), and then select the one we want (probably the first or the one closets to the current desktop), but it fixes flaws I see in both methods 1) and 2).
I prefer this solution, mainly because it doesn't have the problems the other two solutions have.
Cheers, Erik