This allows reading xsettings which contain information about both the active theme as well as the DPI. refs: #947