diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-25 15:30:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-25 15:30:51 +0000 |
| commit | 32e70263f905ee58ba4026d57b1a5fec35c26352 (patch) | |
| tree | 245132d0e20384aaf791099a915783587b426cad /wayland.h | |
| parent | sixel: wip: split up image being overwritten, rather than erasing it (diff) | |
wayland: use xdg_output's description if there's no 'model'
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -19,7 +19,6 @@ struct monitor { struct wayland *wayl; struct wl_output *output; struct zxdg_output_v1 *xdg; - char *name; uint32_t wl_name; int x; @@ -63,8 +62,14 @@ struct monitor { float refresh; enum wl_output_subpixel subpixel; + /* From wl_output */ char *make; char *model; + + /* From xdg_output */ + char *name; + char *description; + float inch; /* e.g. 24" */ }; |
