diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-05 17:18:21 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-05 17:25:57 +0300 |
| commit | a444efd0ebee8e203877daedc7bc65584f72daba (patch) | |
| tree | 2ca010493711213ee3faced62b63a62048f37bad /src/layout/monitor.rs | |
| parent | c41f93a468c4d04e16f8c89736cc48cd4ab4c623 (diff) | |
| download | niri-a444efd0ebee8e203877daedc7bc65584f72daba.tar.gz niri-a444efd0ebee8e203877daedc7bc65584f72daba.tar.bz2 niri-a444efd0ebee8e203877daedc7bc65584f72daba.zip | |
Add focus-window-in-column (by index) action
Diffstat (limited to 'src/layout/monitor.rs')
| -rw-r--r-- | src/layout/monitor.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs index 37f5fb94..ebafad17 100644 --- a/src/layout/monitor.rs +++ b/src/layout/monitor.rs @@ -457,6 +457,10 @@ impl<W: LayoutElement> Monitor<W> { self.active_workspace().focus_column_left_or_last(); } + pub fn focus_window_in_column(&mut self, index: u8) { + self.active_workspace().focus_window_in_column(index); + } + pub fn focus_down(&mut self) -> bool { self.active_workspace().focus_down() } |
