aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/surface_patch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shell/surface_patch.rs')
-rw-r--r--src/client/shell/surface_patch.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/shell/surface_patch.rs b/src/client/shell/surface_patch.rs
index 87f947fa..6c829acf 100644
--- a/src/client/shell/surface_patch.rs
+++ b/src/client/shell/surface_patch.rs
@@ -113,7 +113,8 @@ impl ClientShellState {
let Some(current) = self.pane_surface.as_ref() else {
return ClientPaneSurfacePatchOutcome::Rejected;
};
- if patch.boot_id != current.boot_id
+ if self.pane_surface_generation != self.active_snapshot_generation
+ || patch.boot_id != current.boot_id
|| patch.projection_revision != current.projection_revision
|| patch.base_surface_revision != current.surface_revision
|| patch.surface_revision != current.surface_revision.saturating_add(1)