mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-06 06:47:17 -04:00
wayland: calculate output PPI (pixels-per-inch)
This commit is contained in:
parent
bc86cd61c7
commit
204bfa02f4
2 changed files with 12 additions and 3 deletions
|
|
@ -27,6 +27,9 @@ struct monitor {
|
|||
int width_px;
|
||||
int height_px;
|
||||
|
||||
int x_ppi;
|
||||
int y_ppi;
|
||||
|
||||
int scale;
|
||||
float refresh;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue