From 6e7d51972ee781b37e65b362063f4e3aebefa28e Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Thu, 9 Jan 2025 01:20:25 +0200 Subject: update wayrs-client and other deps --- src/wm_info_provider.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/wm_info_provider.rs') 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, - globals: &Globals, - config: &WmConfig, -) -> Box { - if let Some(river) = RiverInfoProvider::bind(conn, globals, config) { +pub fn bind(conn: &mut Connection, config: &WmConfig) -> Box { + if let Some(river) = RiverInfoProvider::bind(conn, config) { return Box::new(river); } -- cgit v1.3.1