Merge pull request #1281 from aereaux/edid-sizes

Update sizes for new EDID database.
master
emersion 6 years ago committed by GitHub
commit c67ce71fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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);

Loading…
Cancel
Save