From 303f23d7dddd028655b82766c042dcde17cbdebe Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 15 Nov 2023 18:40:11 -0500 Subject: [PATCH] wlr_scene: Update outputs if subpixel status changes This is important for buffers that are meant to render any sort of text. --- types/scene/wlr_scene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/scene/wlr_scene.c b/types/scene/wlr_scene.c index 0bf3c308..f81a8613 100644 --- a/types/scene/wlr_scene.c +++ b/types/scene/wlr_scene.c @@ -1274,7 +1274,8 @@ static void scene_output_handle_commit(struct wl_listener *listener, void *data) bool force_update = state->committed & ( WLR_OUTPUT_STATE_TRANSFORM | - WLR_OUTPUT_STATE_SCALE); + WLR_OUTPUT_STATE_SCALE | + WLR_OUTPUT_STATE_SUBPIXEL); if (force_update || state->committed & (WLR_OUTPUT_STATE_MODE | WLR_OUTPUT_STATE_ENABLED)) {