aboutsummaryrefslogtreecommitdiff
path: root/src/server/client_shell_graphics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/client_shell_graphics.rs')
-rw-r--r--src/server/client_shell_graphics.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/client_shell_graphics.rs b/src/server/client_shell_graphics.rs
index d0af03a9..8499b964 100644
--- a/src/server/client_shell_graphics.rs
+++ b/src/server/client_shell_graphics.rs
@@ -3,7 +3,7 @@ use crate::protocol::{ClientShellPopupSurface, SurfaceGraphicsScene};
pub(crate) fn collect_retained(
app: &crate::app::App,
- surface: &crate::protocol::PaneSurfaceFrame,
+ panes: &[crate::protocol::PaneSurfacePane],
target: crate::ui::TabSurfaceTarget,
cell_size: crate::kitty_graphics::HostCellSize,
delivered: &DeliveryCache,
@@ -12,8 +12,7 @@ pub(crate) fn collect_retained(
let rect = |rect: crate::protocol::SurfaceRect| {
ratatui::layout::Rect::new(rect.x, rect.y, rect.width, rect.height)
};
- let pane_infos = surface
- .panes
+ let pane_infos = panes
.iter()
.map(|pane| {
let (workspace_index, id) = app.parse_pane_id(&pane.pane_id)?;