From 0036161867f2f0800569aade07ea85788e0d6ee4 Mon Sep 17 00:00:00 2001 From: Aidan Epstein Date: Thu, 4 Oct 2018 08:01:48 -0700 Subject: [PATCH] Update sizes for new EDID database. --- include/wlr/types/wlr_output.h | 2 +- rootston/config.c | 2 +- 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);