aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-26 17:55:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-26 18:02:35 +0000
commit204bfa02f453dc931b0491f0f6f8313ad9183944 (patch)
tree94a9d3b723f2f34e4263b6152b983a44b5fe77fa /wayland.h
parentfont: move metrics from terminal struct to font struct (diff)
wayland: calculate output PPI (pixels-per-inch)
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 951a0ece..cbcedc1a 100644
--- a/wayland.h
+++ b/wayland.h
@@ -27,6 +27,9 @@ struct monitor {
int width_px;
int height_px;
+ int x_ppi;
+ int y_ppi;
+
int scale;
float refresh;
};