fix(wayland): warnings
This commit is contained in:
@@ -281,6 +281,7 @@ impl<B: Backend + ?Sized> PanelItem<B> {
|
||||
}
|
||||
|
||||
// Remote signals
|
||||
#[allow(unused)]
|
||||
impl<B: Backend + ?Sized> PanelItem<B> {
|
||||
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<B: Backend + ?Sized> PanelItem<B> {
|
||||
fn apply_surface_material_flex(
|
||||
node: Arc<Node>,
|
||||
|
||||
@@ -46,14 +46,6 @@ pub struct ClientState {
|
||||
pub display: Weak<DisplayWrapper>,
|
||||
pub seat: Arc<SeatWrapper>,
|
||||
}
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user