mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-10 13:29:44 -05:00
rootston: fix output_damage_whole
This should fix artifacts when leaving fullscreen on rotated outputs.
This commit is contained in:
parent
be888df4c3
commit
7881d039b6
1 changed files with 4 additions and 1 deletions
|
|
@ -563,8 +563,11 @@ void wlr_output_update_needs_swap(struct wlr_output *output) {
|
|||
}
|
||||
|
||||
static void output_damage_whole(struct wlr_output *output) {
|
||||
int width, height;
|
||||
wlr_output_effective_resolution(output, &width, &height);
|
||||
|
||||
pixman_region32_union_rect(&output->damage, &output->damage, 0, 0,
|
||||
output->width, output->height);
|
||||
width, height);
|
||||
wlr_output_update_needs_swap(output);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue