mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Fix focus=false for move-column-to-workspace*, add to move-window-to-workspace-up/down
This commit is contained in:
committed by
Ivan Molodetskikh
parent
f6f4bf97c3
commit
e038b8770a
+16
-2
@@ -447,9 +447,23 @@ pub enum Action {
|
||||
/// Focus the previous workspace.
|
||||
FocusWorkspacePrevious {},
|
||||
/// Move the focused window to the workspace below.
|
||||
MoveWindowToWorkspaceDown {},
|
||||
MoveWindowToWorkspaceDown {
|
||||
/// Whether the focus should follow the target workspace.
|
||||
///
|
||||
/// If `true` (the default), the focus will follow the window to the new workspace. If
|
||||
/// `false`, the focus will remain on the original workspace.
|
||||
#[cfg_attr(feature = "clap", arg(long, action = clap::ArgAction::Set, default_value_t = true))]
|
||||
focus: bool,
|
||||
},
|
||||
/// Move the focused window to the workspace above.
|
||||
MoveWindowToWorkspaceUp {},
|
||||
MoveWindowToWorkspaceUp {
|
||||
/// Whether the focus should follow the target workspace.
|
||||
///
|
||||
/// If `true` (the default), the focus will follow the window to the new workspace. If
|
||||
/// `false`, the focus will remain on the original workspace.
|
||||
#[cfg_attr(feature = "clap", arg(long, action = clap::ArgAction::Set, default_value_t = true))]
|
||||
focus: bool,
|
||||
},
|
||||
/// Move a window to a workspace.
|
||||
#[cfg_attr(
|
||||
feature = "clap",
|
||||
|
||||
Reference in New Issue
Block a user