term: get_font_dpi(): remove invalid assertion

Closes #1874
This commit is contained in:
Daniel Eklöf 2024-11-24 08:01:31 +01:00
parent b43f19cb50
commit 256749c6d0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -884,8 +884,6 @@ get_font_dpi(const struct terminal *term)
* scaling factor (no downscaling done by the compositor).
*/
xassert(tll_length(term->wl->monitors) > 0);
const struct wl_window *win = term->window;
const struct monitor *mon = NULL;