Skip to content

Commit

Permalink
#3692 re-add display to ssh args
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 25, 2022
1 parent 4f63e1a commit e43a738
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xpra/scripts/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def add_query():
add_path()
add_query()
display = desc.get("display")
args = []
args = desc.setdefault("display_as_args", [display])
if protocol=="vnc+ssh" and display:
#ie: "vnc+ssh://host/10" -> path="/10"
#use a vnc display string with the proxy command
Expand All @@ -520,7 +520,6 @@ def add_query():
if "proxy_host" in desc:
full_ssh += get_ssh_proxy_args(desc, ssh)
desc["full_ssh"] = full_ssh
desc["display_as_args"] = args
return desc

if protocol=="socket":
Expand Down

0 comments on commit e43a738

Please sign in to comment.