From dd348a451801445bc70fdcfaada0f4bed7c64fea Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 6 May 2021 21:09:33 +0200 Subject: [PATCH] Small rearrangement to stop clippy from suggesting a fix for a non-issue --- src/cmds.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmds.rs b/src/cmds.rs index db6439a..5126d64 100644 --- a/src/cmds.rs +++ b/src/cmds.rs @@ -221,15 +221,15 @@ pub fn quit_workspace_or_window( fn get_swaymsg_commands<'a>() -> Vec> { let mut cmds = vec![]; - cmds.push(vec!["exit"]); - cmds.push(vec!["floating", "toggle"]); - cmds.push(vec!["focus", "child"]); - cmds.push(vec!["focus", "parent"]); for b in &["none", "normal", "csd", "pixel"] { cmds.push(vec!["border", b]); } + cmds.push(vec!["exit"]); + cmds.push(vec!["floating", "toggle"]); + cmds.push(vec!["focus", "child"]); + cmds.push(vec!["focus", "parent"]); cmds.push(vec!["focus", "tiling"]); cmds.push(vec!["focus", "floating"]); cmds.push(vec!["focus", "mode_toggle"]);