fix: subsurface improvements

this fixes a couple issues in the greeter
This commit is contained in:
Ashley Wulber 2026-02-27 17:23:10 -05:00
parent 2a680eeb32
commit f7dc180371
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
7 changed files with 100 additions and 25 deletions

View file

@ -186,7 +186,6 @@ pub fn present(
})
.unwrap_or_else(|| vec![Rectangle::with_size(viewport.logical_size())]);
/// XXX winit shell does not handle skipped present well.
if damage.is_empty() {
if let Some(last_layers) = last_layers {
surface.layer_stack.push_front(last_layers.clone());