diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-06-01 13:55:13 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-06-01 13:55:13 +0300 |
| commit | 2c9bc7c4b6609bf6b840f6494618034a6dd3cafc (patch) | |
| tree | 5c2237090ebed88b3956a6ac107414555b2d351f /src/wm_info_provider.rs | |
| parent | 0fa82a3280083c7ef098609990a7177625a4cbd4 (diff) | |
| download | i3bar-mango-2c9bc7c4b6609bf6b840f6494618034a6dd3cafc.tar.gz | |
fix clippy lint
Diffstat (limited to 'src/wm_info_provider.rs')
| -rw-r--r-- | src/wm_info_provider.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wm_info_provider.rs b/src/wm_info_provider.rs index 7f2d941..134bc77 100644 --- a/src/wm_info_provider.rs +++ b/src/wm_info_provider.rs @@ -13,7 +13,7 @@ use river::*; pub enum WmInfoProvider { None, River(RiverInfoProvider), - EWU(ExtWorkspaceUnstable), + Ewu(ExtWorkspaceUnstable), } pub type WmInfoCallback = fn(&mut Connection<State>, &mut State, WlOutput, WmInfo); @@ -27,7 +27,7 @@ impl WmInfoProvider { if let Some(river) = RiverInfoProvider::bind(conn, globals, callback) { Self::River(river) } else if let Some(ext_wp_u) = ExtWorkspaceUnstable::bind(conn, globals, callback) { - Self::EWU(ext_wp_u) + Self::Ewu(ext_wp_u) } else { Self::None } @@ -37,7 +37,7 @@ impl WmInfoProvider { match self { Self::None => (), Self::River(x) => x.new_output(conn, output), - Self::EWU(x) => x.new_ouput(conn, output), + Self::Ewu(x) => x.new_ouput(conn, output), } } @@ -45,7 +45,7 @@ impl WmInfoProvider { match self { Self::None => (), Self::River(x) => x.output_removed(conn, output), - Self::EWU(x) => x.output_removed(conn, output), + Self::Ewu(x) => x.output_removed(conn, output), } } @@ -60,7 +60,7 @@ impl WmInfoProvider { match self { Self::None => (), Self::River(x) => x.click_on_tag(conn, output, seat, tag, btn), - Self::EWU(x) => x.click_on_tag(conn, output, seat, tag, btn), + Self::Ewu(x) => x.click_on_tag(conn, output, seat, tag, btn), } } } |
