It seems like window id is changed when a window is attached via join-pane from one session to another, which makes total sense since the window needs to have an id in the session it's joined to and it's current id might not be free. Is there a way to identify a window uniquely between sessions that will persist join-pane and break-pane or other kind of moves in between session.
It's ok it this is something I have to set myself at window creation time
I've tried using the name attribute but tmux keeps reassigning even if I set "allow-rename" and "automatic-rename" options to off.
/oivvio