Skip to content

Commit

Permalink
Merge pull request #3653 from SethRobertson/master
Browse files Browse the repository at this point in the history
Allow --max-size and --min-size to work again
  • Loading branch information
totaam committed Oct 15, 2022
2 parents 6ee1f02 + 0072de4 commit 38dead8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/scripts/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1826,9 +1826,9 @@ def pws_fail():
pws_fail()
return w, h
if options.min_size:
options.min_size = "x".join(parse_window_size(options.min_size, "min-size"))
options.min_size = "x".join(map(str, parse_window_size(options.min_size, "min-size")))
if options.max_size:
options.max_size = "x".join(parse_window_size(options.max_size, "max-size"))
options.max_size = "x".join(map(str, parse_window_size(options.max_size, "max-size")))
if options.encryption_keyfile and not options.encryption:
from xpra.net.crypto import DEFAULT_MODE
options.encryption = f"AES-{DEFAULT_MODE}"
Expand Down

0 comments on commit 38dead8

Please sign in to comment.