summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2023-02-08 18:35:26 +0100
committerAram Drevekenin <aram@poor.dev>2023-02-08 18:35:26 +0100
commit19af1de5f5867fb5eb1b756053f6183acadefdba (patch)
tree7e3263ea320d0fef4999278c559fc0da7b46513b
parent4454c3a42fd244c29443be7addcd4d274be5b6d2 (diff)
fix(stacked-panes): move focus for all clients in stack
-rw-r--r--zellij-server/src/panes/tiled_panes/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-server/src/panes/tiled_panes/mod.rs b/zellij-server/src/panes/tiled_panes/mod.rs
index 3ba0d0ef5..11097a4fd 100644
--- a/zellij-server/src/panes/tiled_panes/mod.rs
+++ b/zellij-server/src/panes/tiled_panes/mod.rs
@@ -852,6 +852,7 @@ impl TiledPanes {
// we do this because a stack pane focus change also changes its
// geometry and we need to let the pty know about this (like in a
// normal size change)
+ self.focus_pane_for_all_clients(p); // TODO: for all client *in stack*
self.reapply_pane_frames();
}
@@ -902,6 +903,7 @@ impl TiledPanes {
// we do this because a stack pane focus change also changes its
// geometry and we need to let the pty know about this (like in a
// normal size change)
+ self.focus_pane_for_all_clients(p); // TODO: for all client *in stack*
self.reapply_pane_frames();
}