Skip to content

Commit

Permalink
preserve ':' prefix for X11 displays
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 25, 2022
1 parent e43a738 commit 2a62420
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1942,6 +1942,9 @@ def run_remote_server(script_file, cmdline, error_cb, opts, args, mode, defaults
pos = proxy_args.index(display)
except ValueError:
pos = -1
if display.replace(".", "").isnumeric():
#numeric displays are X11 display names:
display = f":{display}"
if mode=="shadow" and geometry:
display += f",{geometry}"
if pos>=0:
Expand Down

0 comments on commit 2a62420

Please sign in to comment.