mirror of
https://github.com/swaywm/sway.git
synced 2026-04-24 06:46:22 -04:00
desktop: output: Set output damage on direct scanout
This commit is contained in:
parent
aaf68cf423
commit
c1972e86c9
1 changed files with 2 additions and 0 deletions
|
|
@ -486,6 +486,8 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
|
||||||
wlr_presentation_surface_sampled_on_output(server.presentation, surface,
|
wlr_presentation_surface_sampled_on_output(server.presentation, surface,
|
||||||
wlr_output);
|
wlr_output);
|
||||||
|
|
||||||
|
wlr_output_set_damage(wlr_output, &output->damage->current);
|
||||||
|
|
||||||
return wlr_output_commit(wlr_output);
|
return wlr_output_commit(wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue