wlr_scene: Update outputs if subpixel status changes

This is important for buffers that are meant to render any sort of
text.
This commit is contained in:
Alexander Orzechowski 2023-11-15 18:40:11 -05:00
parent 50446fe75e
commit 303f23d7dd
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {