diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py index db31f226bd..7c2f585a09 100755 --- a/xpra/scripts/main.py +++ b/xpra/scripts/main.py @@ -109,6 +109,8 @@ def main(script_file, cmdline): #turn off gdk scaling to make sure we get the actual window geometry: os.environ["GDK_SCALE"]="1" os.environ["GDK_DPI_SCALE"] = "1" + if WIN32 and os.environ.get("CRYPTOGRAPHY_OPENSSL_NO_LEGACY") is None: + os.environ["CRYPTOGRAPHY_OPENSSL_NO_LEGACY"] = "1" #client side decorations break window geometry, #disable this "feature" unless explicitly enabled: if os.environ.get("GTK_CSD") is None: