diff --git a/src/nodes/items/panel.rs b/src/nodes/items/panel.rs index 8d519da8..90c51203 100644 --- a/src/nodes/items/panel.rs +++ b/src/nodes/items/panel.rs @@ -281,6 +281,7 @@ impl PanelItem { } // Remote signals +#[allow(unused)] impl PanelItem { pub fn toplevel_parent_changed(&self, parent: &str) { let Some(node) = self.node.upgrade() else { @@ -381,6 +382,7 @@ macro_rules! flex_deserialize { } }; } +#[allow(unused)] impl PanelItem { fn apply_surface_material_flex( node: Arc, diff --git a/src/wayland/state.rs b/src/wayland/state.rs index ad8d8d6a..3cf9d816 100644 --- a/src/wayland/state.rs +++ b/src/wayland/state.rs @@ -46,14 +46,6 @@ pub struct ClientState { pub display: Weak, pub seat: Arc, } -impl ClientState { - pub fn flush(&self) { - let Some(display) = self.display.upgrade() else { - return; - }; - let _ = display.flush_clients(self.id.get().cloned()); - } -} impl ClientData for ClientState { fn initialized(&self, client_id: ClientId) { info!("Wayland client {:?} connected", client_id);