aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Epstein <aidan@jmad.org>2018-10-04 08:01:48 -0700
committerAidan Epstein <aidan@jmad.org>2018-10-04 08:11:09 -0700
commit0036161867f2f0800569aade07ea85788e0d6ee4 (patch)
tree4d556671f3b403a3949c4b4e7138018efd4d3509
parent0d23fb7b6dc79b82301f3c049e05d1556a187b0f (diff)
Update sizes for new EDID database.
-rw-r--r--include/wlr/types/wlr_output.h2
-rw-r--r--rootston/config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 9ede7ab7..96394ba4 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -65,7 +65,7 @@ struct wlr_output {
struct wl_list resources;
char name[24];
- char make[48];
+ char make[56];
char model[16];
char serial[16];
int32_t phys_width, phys_height; // mm
diff --git a/rootston/config.c b/rootston/config.c
index 5c168679..119a9e2c 100644
--- a/rootston/config.c
+++ b/rootston/config.c
@@ -577,7 +577,7 @@ void roots_config_destroy(struct roots_config *config) {
struct roots_output_config *roots_config_get_output(struct roots_config *config,
struct wlr_output *output) {
- char name[83];
+ char name[88];
snprintf(name, sizeof(name), "%s %s %s", output->make, output->model,
output->serial);