mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-26 07:58:20 -04:00
output: add wlr_output.port
This commit is contained in:
parent
980ac9e4c8
commit
85ab6b7eb2
2 changed files with 2 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ struct wlr_output {
|
||||||
char *name;
|
char *name;
|
||||||
char *description; // may be NULL
|
char *description; // may be NULL
|
||||||
char *make, *model, *serial; // may be NULL
|
char *make, *model, *serial; // may be NULL
|
||||||
|
char *port; // may be NULL
|
||||||
int32_t phys_width, phys_height; // mm
|
int32_t phys_width, phys_height; // mm
|
||||||
|
|
||||||
// Note: some backends may have zero modes
|
// Note: some backends may have zero modes
|
||||||
|
|
|
||||||
|
|
@ -425,6 +425,7 @@ void wlr_output_finish(struct wlr_output *output) {
|
||||||
free(output->make);
|
free(output->make);
|
||||||
free(output->model);
|
free(output->model);
|
||||||
free(output->serial);
|
free(output->serial);
|
||||||
|
free(output->port);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wlr_output_destroy(struct wlr_output *output) {
|
void wlr_output_destroy(struct wlr_output *output) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue