diff options
Diffstat (limited to 'crates/wayland/src/udev/render.rs')
| -rw-r--r-- | crates/wayland/src/udev/render.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/wayland/src/udev/render.rs b/crates/wayland/src/udev/render.rs index a2cf367..cefd759 100644 --- a/crates/wayland/src/udev/render.rs +++ b/crates/wayland/src/udev/render.rs @@ -308,7 +308,7 @@ impl CompState { // stand around empty desktop until the client paints, // then jump when the placeholder size is replaced. See // `window_has_content`. - if !Self::has_content(&self.windows_shown_once, &self.id_to_window, id) { + if !Self::has_content(&self.awaiting_first_buffer, id) { continue; } let Some(w) = self.wm.borrow().window(id).cloned() else { continue }; @@ -558,7 +558,7 @@ impl CompState { for &id in &ids { // See the GPU loop above: a window with no buffer yet has // nothing for a frame to go around. - if !Self::has_content(&self.windows_shown_once, &self.id_to_window, id) { + if !Self::has_content(&self.awaiting_first_buffer, id) { continue; } let Some(w) = self.wm.borrow().window(id).cloned() else { continue }; |