diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-10 14:40:21 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-12-12 19:00:24 -0500 |
commit | 2f84d6e349d12f3293c44268bc5c8551340e5787 (patch) | |
tree | b9ff4438269faef7dc3c44ba5237e709a324191b /sway/commands/client.c | |
parent | 2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6 (diff) |
Auto-detect output scale
If the screen DPI is high enough, auto-enable scale=2 (if the user
hasn't set the scale).
Uses heuristics based on [1].
[1]: https://gitlab.gnome.org/GNOME/mutter/blob/05217066171992b0bc50882869aad6385285c878/src/backends/meta-monitor.c#L1590
Closes: https://github.com/swaywm/sway/issues/1800
Diffstat (limited to 'sway/commands/client.c')
0 files changed, 0 insertions, 0 deletions