From b9ce96869e89937278d673d70ae4c135dd318469 Mon Sep 17 00:00:00 2001 From: akbash Date: Wed, 9 Sep 2026 02:35:31 +0300 Subject: feat: navigate and highlight workspaces across machines (#3755) * fix: highlight workspace navigation with saved machines refs #3754 * feat: navigate workspaces across connected machines refs #3754 * feat: navigate workspaces across machines refs #3754 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: Ogulcan Celik --- src/client/shell/mouse.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/client/shell/mouse.rs') diff --git a/src/client/shell/mouse.rs b/src/client/shell/mouse.rs index cf04fb89..ec231c92 100644 --- a/src/client/shell/mouse.rs +++ b/src/client/shell/mouse.rs @@ -607,6 +607,16 @@ impl ClientShellState { pub(super) fn handle_mouse(&mut self, mouse: MouseEvent, outcome: &mut ClientShellInput) { let point = (mouse.column, mouse.row); + if self.mode == ClientShellMode::Navigate + && self.workspace_preview_action_blocked() + && self.overlay.is_none() + && !self.mobile_layout_active() + && mouse.kind == MouseEventKind::Down(MouseButton::Left) + { + self.mode = self.copy_or_terminal_mode(); + self.navigate_workspace_id = None; + outcome.repaint = true; + } if matches!(self.overlay, Some(ClientShellOverlay::Onboarding)) { if mouse.kind == MouseEventKind::Down(MouseButton::Left) && super::contains(self.hits.overlay_primary, point) -- cgit v1.2.3