aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
authorgibberish <gbjgms@gmail.com>2025-06-16 17:23:29 +0700
committerIvan Molodetskikh <yalterz@gmail.com>2025-08-27 09:17:58 +0300
commite038b8770a17b67cbf9c9d007a1f3a9ac0b53c60 (patch)
tree3a23444922e8b794ecb584374b39e71c2c661caf /src/layout/mod.rs
parentf6f4bf97c368d9a8539137896f786291d859cadf (diff)
downloadniri-e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60.tar.gz
niri-e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60.tar.bz2
niri-e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60.zip
Fix focus=false for move-column-to-workspace*, add to move-window-to-workspace-up/down
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index 52e3173b..d2653086 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -2178,18 +2178,18 @@ impl<W: LayoutElement> Layout<W> {
workspace.focus_window_up_or_bottom();
}
- pub fn move_to_workspace_up(&mut self) {
+ pub fn move_to_workspace_up(&mut self, focus: bool) {
let Some(monitor) = self.active_monitor() else {
return;
};
- monitor.move_to_workspace_up();
+ monitor.move_to_workspace_up(focus);
}
- pub fn move_to_workspace_down(&mut self) {
+ pub fn move_to_workspace_down(&mut self, focus: bool) {
let Some(monitor) = self.active_monitor() else {
return;
};
- monitor.move_to_workspace_down();
+ monitor.move_to_workspace_down(focus);
}
pub fn move_to_workspace(