From 5e3b7d15adf5cb39a73319a108a114d3420f1b27 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 1 Dec 2019 04:59:42 +0000 Subject: [PATCH] #2500 when we use the command line dpi value for both xdpi and ydpi, we have to use the average scaling of x and y instead of applying the scaling twice git-svn-id: https://xpra.org/svn/Xpra/trunk@24545 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/client/mixins/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpra/client/mixins/display.py b/src/xpra/client/mixins/display.py index 8100ad4aac..7159ccb678 100644 --- a/src/xpra/client/mixins/display.py +++ b/src/xpra/client/mixins/display.py @@ -147,7 +147,7 @@ def get_dpi_caps(self): dpi = 0 if self.dpi>0: #scale it: - dpi = self.cx(self.cy(self.dpi)) + dpi = self.cx(self.cy(self.dpi*2)) else: #not supplied, use platform detection code: #platforms may also provide per-axis dpi (later win32 versions do)