diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-05-01 06:09:08 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-05-01 08:18:14 +0000 |
| commit | 7ced397089fb5724fb2021bea8491f361b289366 (patch) | |
| tree | dd92547a335d23968fd34c9ce2ab9d333c86f524 /wayland.c | |
| parent | changelog: add new 'unreleased' section (diff) | |
config: gamma-correct-blending: disable by default
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1980,7 +1980,7 @@ wayl_win_init(struct terminal *term, const char *token) xdg_toplevel_icon_v1_destroy(icon); } - if (term->conf->gamma_correct != GAMMA_CORRECT_DISABLED) { + if (term->conf->gamma_correct) { if (wayl->color_management.img_description != NULL) { xassert(wayl->color_management.manager != NULL); @@ -1990,7 +1990,7 @@ wayl_win_init(struct terminal *term, const char *token) wp_color_management_surface_v1_set_image_description( win->surface.color_management, wayl->color_management.img_description, WP_COLOR_MANAGER_V1_RENDER_INTENT_PERCEPTUAL); - } else if (term->conf->gamma_correct == GAMMA_CORRECT_ENABLED) { + } else { if (wayl->color_management.manager == NULL) { LOG_WARN( "gamma-corrected-blending: disabling; " @@ -2005,8 +2005,6 @@ wayl_win_init(struct terminal *term, const char *token) LOG_WARN(" - TF: ext_linear"); LOG_WARN(" - primaries: sRGB"); } - } else { - /* "auto" - don't warn */ } } |
