diff --git a/config/src/color.rs b/config/src/color.rs index d024846ba41..4b591ac2238 100644 --- a/config/src/color.rs +++ b/config/src/color.rs @@ -649,14 +649,14 @@ impl Default for WindowFrameConfig { impl Default for FloatingPaneBorderConfig { fn default() -> Self { Self { - left_width: default_zero_pixel(), - right_width: default_zero_pixel(), - top_height: default_zero_pixel(), - bottom_height: default_zero_pixel(), - left_color: None, - right_color: None, - top_color: None, - bottom_color: None, + left_width: Dimension::Pixels(3.), + right_width: Dimension::Pixels(3.), + top_height: Dimension::Pixels(3.), + bottom_height: Dimension::Pixels(3.), + left_color: Some(default_active_titlebar_bg()), + right_color: Some(default_active_titlebar_bg()), + top_color: Some(default_active_titlebar_bg()), + bottom_color: Some(default_active_titlebar_bg()), } } } diff --git a/wezterm-client/src/domain.rs b/wezterm-client/src/domain.rs index bb0a7c4f0da..8c3f5957502 100644 --- a/wezterm-client/src/domain.rs +++ b/wezterm-client/src/domain.rs @@ -841,9 +841,6 @@ impl Domain for ClientDomain { Ok(true) } - /// Forward the request to the remote; we need to translate the local ids - /// to those that match the remote for the request, resync the changed - /// structure, and then translate the results back to local async fn move_floating_pane_to_split( &self, pane_id: PaneId, @@ -856,6 +853,7 @@ impl Domain for ClientDomain { let local_pane = Mux::get() .get_pane(pane_id) .ok_or_else(|| anyhow!("pane_id {} is invalid", pane_id))?; + let pane = local_pane .downcast_ref::() .ok_or_else(|| anyhow!("pane_id {} is not a ClientPane", pane_id))?;