sway/commands/output: Add command to set color profile

This makes it possible to render output buffers in a different color
space, by specifying an ICC profile for the output.
This commit is contained in:
Manuel Stoeckl 2023-07-17 21:40:28 -04:00 committed by Simon Ser
parent 2e9139df66
commit 40ca4150b2
13 changed files with 147 additions and 1 deletions

View file

@ -279,6 +279,7 @@ void output_destroy(struct sway_output *output) {
list_free(output->workspaces);
list_free(output->current.workspaces);
wl_event_source_remove(output->repaint_timer);
wlr_color_transform_unref(output->color_transform);
free(output);
}