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

View file

@ -1274,7 +1274,8 @@ static void scene_output_handle_commit(struct wl_listener *listener, void *data)
bool force_update = state->committed & ( bool force_update = state->committed & (
WLR_OUTPUT_STATE_TRANSFORM | 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 | if (force_update || state->committed & (WLR_OUTPUT_STATE_MODE |
WLR_OUTPUT_STATE_ENABLED)) { WLR_OUTPUT_STATE_ENABLED)) {