feat: always centre column after action

This commit is contained in:
atagen 2025-06-23 01:02:24 +10:00
parent b621743d9d
commit 60a7f4ddff

View File

@ -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<()> {