diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-14 19:26:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-14 19:26:55 +0300 |
| commit | b5154541cc75f9f12b7c14964d4d277d505a5f45 (patch) | |
| tree | 1a45e3eb71730ab97983d8c92edcb72a7d963ab9 /src/client/shell/surface_patch.rs | |
| parent | 03749ae3970a74e077fc16b9327bddfc957771c9 (diff) | |
fix: restore saved machine screens after reconnect (#4126)
refs #3842
Diffstat (limited to 'src/client/shell/surface_patch.rs')
| -rw-r--r-- | src/client/shell/surface_patch.rs | 3 |
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) |
