On Wed, 29 Sep 2010 18:00:06 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On Wed, 29 Sep 2010 09:52:19 +1000 Erik de Castro Lopo mle+tools@mega-nerd.com wrote:
- 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.
In any case, the patch introduced a bug where 2nd instances still load the session files. So I think we'll need to revert it until there's a fix.
So both require traversing the possible sockets. It can be something like this <attachment>. But I'd personally prefer the patch removed...