From 304f8d698225bbc518c50cbca0beddbe22c79963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 15 Feb 2020 21:31:23 +0100 Subject: [PATCH] wayland: output_mode: update PPI Since we now use the width/height values from output_mode(), we also need to update the PPI here. --- wayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland.c b/wayland.c index 830f114d..67757679 100644 --- a/wayland.c +++ b/wayland.c @@ -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