Found the aforementioned expression in the unity8 source. Of course the data comes from Mir still.
** Also affects: unity8 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1525293 Title: "window->screen()->physicalDotsPerInch() / 25.4" may be negative on xenial To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1525293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs