Skip to content

Commit

Permalink
omit_tiled -> omit_tiling
Browse files Browse the repository at this point in the history
  • Loading branch information
wrapperup committed Feb 7, 2025
1 parent 4d213bd commit bd5644c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/wm-common/src/app_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
4 changes: 2 additions & 2 deletions packages/wm/src/commands/general/cycle_focus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions packages/wm/src/wm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit bd5644c

Please sign in to comment.