fix(wayland): warnings
This commit is contained in:
@@ -281,6 +281,7 @@ impl<B: Backend + ?Sized> PanelItem<B> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Remote signals
|
// Remote signals
|
||||||
|
#[allow(unused)]
|
||||||
impl<B: Backend + ?Sized> PanelItem<B> {
|
impl<B: Backend + ?Sized> PanelItem<B> {
|
||||||
pub fn toplevel_parent_changed(&self, parent: &str) {
|
pub fn toplevel_parent_changed(&self, parent: &str) {
|
||||||
let Some(node) = self.node.upgrade() else {
|
let Some(node) = self.node.upgrade() else {
|
||||||
@@ -381,6 +382,7 @@ macro_rules! flex_deserialize {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
#[allow(unused)]
|
||||||
impl<B: Backend + ?Sized> PanelItem<B> {
|
impl<B: Backend + ?Sized> PanelItem<B> {
|
||||||
fn apply_surface_material_flex(
|
fn apply_surface_material_flex(
|
||||||
node: Arc<Node>,
|
node: Arc<Node>,
|
||||||
|
|||||||
@@ -46,14 +46,6 @@ pub struct ClientState {
|
|||||||
pub display: Weak<DisplayWrapper>,
|
pub display: Weak<DisplayWrapper>,
|
||||||
pub seat: Arc<SeatWrapper>,
|
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 {
|
impl ClientData for ClientState {
|
||||||
fn initialized(&self, client_id: ClientId) {
|
fn initialized(&self, client_id: ClientId) {
|
||||||
info!("Wayland client {:?} connected", client_id);
|
info!("Wayland client {:?} connected", client_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user