Skip to content

Commit

Permalink
#163 (and maybe other tickets): some applications (Java with gtk look…
Browse files Browse the repository at this point in the history
…&feel) lookup "gnome.Xft/DPI" instead of "Xft.dpi", so we set that as well

git-svn-id: https://xpra.org/svn/Xpra/trunk@3034 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 21, 2013
1 parent c98e86b commit 885e735
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xpra/x11_server_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ def update_server_settings(self, settings):
continue
values[parts[0]] = parts[1]
values["Xft.dpi"] = self.dpi
values["gnome.Xft/DPI"] = self.dpi*1024
log("server_settings: resource-manager values=%s", values)
#convert the dict back into a resource string:
value = ''
Expand Down

0 comments on commit 885e735

Please sign in to comment.