mirror of
https://github.com/swaywm/sway.git
synced 2025-11-28 07:00:00 -05:00
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:
parent
2e9139df66
commit
40ca4150b2
13 changed files with 147 additions and 1 deletions
|
|
@ -269,7 +269,10 @@ static int output_repaint_timer_handler(void *data) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
wlr_scene_output_commit(output->scene_output, NULL);
|
||||
struct wlr_scene_output_state_options opts = {
|
||||
.color_transform = output->color_transform,
|
||||
};
|
||||
wlr_scene_output_commit(output->scene_output, &opts);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue