diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2025-01-09 01:20:25 +0200 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2025-01-09 01:20:25 +0200 |
| commit | 6e7d51972ee781b37e65b362063f4e3aebefa28e (patch) | |
| tree | c90a799a0a37a0e1b0927b49561bfddd1917a200 /src/wm_info_provider.rs | |
| parent | 8c3c0df4a5904aaf5d7072ca14ea6e9dd7fb326c (diff) | |
| download | i3bar-mango-6e7d51972ee781b37e65b362063f4e3aebefa28e.tar.gz | |
update wayrs-client and other deps
Diffstat (limited to 'src/wm_info_provider.rs')
| -rw-r--r-- | src/wm_info_provider.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/wm_info_provider.rs b/src/wm_info_provider.rs index b3c6618..eb8b51a 100644 --- a/src/wm_info_provider.rs +++ b/src/wm_info_provider.rs @@ -1,6 +1,5 @@ use std::any::Any; -use wayrs_client::global::*; use wayrs_client::Connection; use crate::config::WmConfig; @@ -52,12 +51,8 @@ pub trait WmInfoProvider { fn as_any(&mut self) -> &mut dyn Any; } -pub fn bind( - conn: &mut Connection<State>, - globals: &Globals, - config: &WmConfig, -) -> Box<dyn WmInfoProvider> { - if let Some(river) = RiverInfoProvider::bind(conn, globals, config) { +pub fn bind(conn: &mut Connection<State>, config: &WmConfig) -> Box<dyn WmInfoProvider> { + if let Some(river) = RiverInfoProvider::bind(conn, config) { return Box::new(river); } |
