mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
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:
parent
50446fe75e
commit
303f23d7dd
1 changed files with 2 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue