From a444efd0ebee8e203877daedc7bc65584f72daba Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 5 Feb 2025 17:18:21 +0300 Subject: Add focus-window-in-column (by index) action --- src/layout/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/layout/mod.rs') diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 45c5ffce..419f3fd3 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -1893,6 +1893,13 @@ impl Layout { true } + pub fn focus_window_in_column(&mut self, index: u8) { + let Some(monitor) = self.active_monitor() else { + return; + }; + monitor.focus_window_in_column(index); + } + pub fn focus_down(&mut self) { let Some(monitor) = self.active_monitor() else { return; -- cgit