diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/config.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 3c380933..16b822fe 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -267,6 +267,12 @@ enum render_bit_depth { RENDER_BIT_DEPTH_10, }; +enum color_profile { + COLOR_PROFILE_DEFAULT, // default is Transform with NULL color_transform + COLOR_PROFILE_TRANSFORM, // use color_transform from output_config + COLOR_PROFILE_TRANSFORM_WITH_DEVICE_PRIMARIES, // create transform from wlr_output +}; + /** * Size and position configuration for a particular output. * @@ -288,7 +294,7 @@ struct output_config { int max_render_time; // In milliseconds int adaptive_sync; enum render_bit_depth render_bit_depth; - bool set_color_transform; + enum color_profile color_profile; struct wlr_color_transform *color_transform; int allow_tearing; int hdr; |
