mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01: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…
Reference in a new issue