diff --git a/packages/wm-common/src/app_command.rs b/packages/wm-common/src/app_command.rs index ffe93e00..b98fa614 100644 --- a/packages/wm-common/src/app_command.rs +++ b/packages/wm-common/src/app_command.rs @@ -241,7 +241,7 @@ pub enum InvokeCommand { omit_minimized: bool, #[clap(long, default_value_t = false)] - omit_tiled: bool, + omit_tiling: bool, }, WmDisableBindingMode { #[clap(long)] diff --git a/packages/wm/src/commands/general/cycle_focus.rs b/packages/wm/src/commands/general/cycle_focus.rs index 879d61bf..84565485 100644 --- a/packages/wm/src/commands/general/cycle_focus.rs +++ b/packages/wm/src/commands/general/cycle_focus.rs @@ -17,7 +17,7 @@ pub fn cycle_focus( omit_floating: bool, omit_fullscreen: bool, omit_minimized: bool, - omit_tiled: bool, + omit_tiling: bool, state: &mut WmState, config: &UserConfig, ) -> anyhow::Result<()> { @@ -40,7 +40,7 @@ pub fn cycle_focus( if (omit_floating && matches!(next, WindowState::Floating(_))) || omit_fullscreen && matches!(next, WindowState::Fullscreen(_)) || omit_minimized && matches!(next, WindowState::Minimized) - || omit_tiled && matches!(next, WindowState::Tiling) + || omit_tiling && matches!(next, WindowState::Tiling) { next = next_state(&next, config); continue; diff --git a/packages/wm/src/wm.rs b/packages/wm/src/wm.rs index 64ea0352..946c6e53 100644 --- a/packages/wm/src/wm.rs +++ b/packages/wm/src/wm.rs @@ -643,12 +643,12 @@ impl WindowManager { omit_floating, omit_fullscreen, omit_minimized, - omit_tiled, + omit_tiling, } => cycle_focus( *omit_floating, *omit_fullscreen, *omit_minimized, - *omit_tiled, + *omit_tiling, state, config, ),