mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
[session] Because all terminals are slaves, choose first session for remote.
This commit is contained in:
parent
f89b26d5b2
commit
2273c4a370
@ -1143,7 +1143,13 @@ decode_session_info(struct terminal *term, struct terminal_info *info)
|
||||
* to hook up with the master so we can handle request for
|
||||
* stuff in current tab. */
|
||||
base_session = get_master_session();
|
||||
if (!base_session) return 0;
|
||||
if (!base_session) {
|
||||
base_session = sessions.next;
|
||||
|
||||
if (!base_session) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user