app-list: clippy fixes
This commit is contained in:
parent
dfd863c54f
commit
89986d8268
2 changed files with 1 additions and 5 deletions
|
|
@ -215,9 +215,6 @@ pub(crate) fn wayland_handler(
|
||||||
let manager = &state.toplevel_manager_state.manager;
|
let manager = &state.toplevel_manager_state.manager;
|
||||||
manager.close(&handle);
|
manager.close(&handle);
|
||||||
}
|
}
|
||||||
ToplevelRequest::Exit => {
|
|
||||||
state.exit = true;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
WaylandRequest::TokenRequest {
|
WaylandRequest::TokenRequest {
|
||||||
app_id,
|
app_id,
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ use futures::{
|
||||||
SinkExt, StreamExt,
|
SinkExt, StreamExt,
|
||||||
};
|
};
|
||||||
use once_cell::sync::Lazy;
|
use once_cell::sync::Lazy;
|
||||||
use std::{fmt::Debug, hash::Hash, thread::JoinHandle};
|
use std::fmt::Debug;
|
||||||
use tokio::sync::Mutex;
|
use tokio::sync::Mutex;
|
||||||
|
|
||||||
use crate::wayland_handler::wayland_handler;
|
use crate::wayland_handler::wayland_handler;
|
||||||
|
|
@ -107,5 +107,4 @@ pub enum WaylandRequest {
|
||||||
pub enum ToplevelRequest {
|
pub enum ToplevelRequest {
|
||||||
Activate(ZcosmicToplevelHandleV1),
|
Activate(ZcosmicToplevelHandleV1),
|
||||||
Quit(ZcosmicToplevelHandleV1),
|
Quit(ZcosmicToplevelHandleV1),
|
||||||
Exit,
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue