diff options
Diffstat (limited to 'src/layout/monitor.rs')
| -rw-r--r-- | src/layout/monitor.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs index 310121b5..37f5fb94 100644 --- a/src/layout/monitor.rs +++ b/src/layout/monitor.rs @@ -493,6 +493,22 @@ impl<W: LayoutElement> Monitor<W> { } } + pub fn focus_window_top(&mut self) { + self.active_workspace().focus_window_top(); + } + + pub fn focus_window_bottom(&mut self) { + self.active_workspace().focus_window_bottom(); + } + + pub fn focus_window_down_or_top(&mut self) { + self.active_workspace().focus_window_down_or_top(); + } + + pub fn focus_window_up_or_bottom(&mut self) { + self.active_workspace().focus_window_up_or_bottom(); + } + pub fn move_to_workspace_up(&mut self) { let source_workspace_idx = self.active_workspace_idx; |
