term: default to DPI 96, if the monitor's DPI is 0

This can happen in virtualized environments, or when running a nested
Wayland session.
This commit is contained in:
Daniel Eklöf 2024-04-20 08:18:41 +02:00
parent acbb3cbb70
commit 128c5c3efa
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 13 additions and 4 deletions

View file

@ -58,6 +58,12 @@
### Deprecated
### Removed
### Fixed
* Crash when zooming in or out, with `dpi-aware=yes`, and the
monitor's DPI is 0 (this is true for, for example, nested Wayland
sessions, or in virtualized environments).
### Security
### Contributors