diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 20:31:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 20:31:23 +0000 |
| commit | 304f8d698225bbc518c50cbca0beddbe22c79963 (patch) | |
| tree | 02e8a948280fbce5ac32a598d24a676fd92f937d | |
| parent | main: bug: -t requires an argument (diff) | |
wayland: output_mode: update PPI
Since we now use the width/height values from output_mode(), we also
need to update the PPI here.
| -rw-r--r-- | wayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -155,6 +155,7 @@ output_mode(void *data, struct wl_output *wl_output, uint32_t flags, mon->refresh = (float)refresh / 1000; mon->width_px = width; mon->height_px = height; + output_update_ppi(mon); } static void |
