aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-15 18:40:11 -0500
committerAlexander Orzechowski <alex@ozal.ski>2023-11-15 18:42:12 -0500
commit303f23d7dddd028655b82766c042dcde17cbdebe (patch)
tree8ade5d759a77dc8df3bc079f7bcb5483c28dff9d
parent50446fe75e07b986b0e62fe8236ede84b5a31163 (diff)
wlr_scene: Update outputs if subpixel status changes
This is important for buffers that are meant to render any sort of text.
-rw-r--r--types/scene/wlr_scene.c3
1 files changed, 2 insertions, 1 deletions
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)) {