Commit c289bad9007cb672c994f726d967f6e5682f200d

Kyle Schaefer 2021-03-22T11:22:31

In x11, GetDisplayDPI can give incorrect or unusable DPI information. Using XGetDefaults to get the Xft DPI if it's available and returning that. This could allow you to figure out DPI scale.