srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/winit/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wayland/src/winit/render.rs')
-rw-r--r--crates/wayland/src/winit/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wayland/src/winit/render.rs b/crates/wayland/src/winit/render.rs
index 02ee322..3138d45 100644
--- a/crates/wayland/src/winit/render.rs
+++ b/crates/wayland/src/winit/render.rs
@@ -237,7 +237,7 @@ impl WaylandPlatform {
let mut occluders: Vec<srdwm_core::Rect> = Vec::with_capacity(ids.len());
for id in ids {
// See `window_has_content`: no buffer yet means no frame yet.
- if !crate::state::CompState::has_content(&self.state.windows_shown_once, &self.state.id_to_window, id) {
+ if !crate::state::CompState::has_content(&self.state.awaiting_first_buffer, id) {
continue;
}
let Some(w) = self.wm.borrow().window(id).cloned() else { continue };