From 60a7f4ddff01649e9e08457b9a13d98822a6a713 Mon Sep 17 00:00:00 2001 From: atagen Date: Mon, 23 Jun 2025 01:02:24 +1000 Subject: [PATCH] feat: always centre column after action --- daemon/manager.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/daemon/manager.rs b/daemon/manager.rs index 04aea4a..066a74c 100644 --- a/daemon/manager.rs +++ b/daemon/manager.rs @@ -353,7 +353,12 @@ impl NiriTag { }, }; // then arrange corresponding state in the compositor - self.do_action(action).await + self.do_action(action).await?; + tell( + &mut self.socket, + Request::Action(Action::CenterVisibleColumns {}), + ) + .await } async fn handle_event(&mut self, ev: Event) -> Result<()> {