Skip to content

Commit

Permalink
#1193: don't double the dpi value given on the command line
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12516 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 2, 2016
1 parent e279545 commit bed3318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/ui_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def update_screen_size(self):
screenlog("update_screen_size() sizes=%s, %s desktops: %s", sss, ndesktops, desktop_names)
if self.dpi>0:
#use command line value supplied, but scale it:
xdpi = self.cx(self.cy(2.0*self.dpi))
xdpi = self.cx(self.cy(self.dpi))
ydpi = xdpi
else:
#not supplied, use platform detection code:
Expand Down

0 comments on commit bed3318

Please sign in to comment.