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/mod.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/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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<W: LayoutElement> Layout<W> { 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; |
