wayland: output_mode: update PPI

Since we now use the width/height values from output_mode(), we also
need to update the PPI here.
This commit is contained in:
Daniel Eklöf 2020-02-15 21:31:23 +01:00
parent f0887df5c5
commit 304f8d6982
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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