diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 18:06:28 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 18:06:28 +0000 |
| commit | 027696e9c6ac0cf4b6a7bd7905358104f9bed6cd (patch) | |
| tree | 9d0d96373edc09d2fef0aada641af4a4ab291ac8 /render.c | |
| parent | wayland: break out scale/resize updating to a new function (diff) | |
wayland: calculate DPI from physical size, not logical size
xdg_output_handle_logical_size() reports _logical_ output size. That
is, it is scaled by the output's scale factor.
We want the _actual_ DPI. The _real_ output size is reported by
output_mode(), so use that instead.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
