Merge pull request #1281 from aereaux/edid-sizes

Update sizes for new EDID database.
This commit is contained in:
emersion 2018-10-04 18:13:58 +02:00 committed by GitHub
commit c67ce71fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ struct wlr_output {
struct wl_list resources; struct wl_list resources;
char name[24]; char name[24];
char make[48]; char make[56];
char model[16]; char model[16];
char serial[16]; char serial[16];
int32_t phys_width, phys_height; // mm int32_t phys_width, phys_height; // mm

View File

@ -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 roots_output_config *roots_config_get_output(struct roots_config *config,
struct wlr_output *output) { struct wlr_output *output) {
char name[83]; char name[88];
snprintf(name, sizeof(name), "%s %s %s", output->make, output->model, snprintf(name, sizeof(name), "%s %s %s", output->make, output->model,
output->serial); output->serial);