srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/udev/capture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wayland/src/udev/capture.rs')
-rw-r--r--crates/wayland/src/udev/capture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wayland/src/udev/capture.rs b/crates/wayland/src/udev/capture.rs
index 287c003..310c9f7 100644
--- a/crates/wayland/src/udev/capture.rs
+++ b/crates/wayland/src/udev/capture.rs
@@ -71,7 +71,7 @@ impl CompState {
for id in ids {
// Matches the render loops: a capture must not show a frame the
// screen does not (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.id_to_window.get(&id) else { continue };