mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -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 *description; // may be NULL
|
||||
char *make, *model, *serial; // may be NULL
|
||||
char *port; // may be NULL
|
||||
int32_t phys_width, phys_height; // mm
|
||||
|
||||
// Note: some backends may have zero modes
|
||||
|
|
|
|||
|
|
@ -425,6 +425,7 @@ void wlr_output_finish(struct wlr_output *output) {
|
|||
free(output->make);
|
||||
free(output->model);
|
||||
free(output->serial);
|
||||
free(output->port);
|
||||
}
|
||||
|
||||
void wlr_output_destroy(struct wlr_output *output) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue