mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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:
parent
f0887df5c5
commit
304f8d6982
1 changed files with 1 additions and 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue