diff --git a/cosmic-app-list/src/wayland_handler.rs b/cosmic-app-list/src/wayland_handler.rs index 0a05f6a8..5f80861d 100644 --- a/cosmic-app-list/src/wayland_handler.rs +++ b/cosmic-app-list/src/wayland_handler.rs @@ -215,9 +215,6 @@ pub(crate) fn wayland_handler( let manager = &state.toplevel_manager_state.manager; manager.close(&handle); } - ToplevelRequest::Exit => { - state.exit = true; - } }, WaylandRequest::TokenRequest { app_id, diff --git a/cosmic-app-list/src/wayland_subscription.rs b/cosmic-app-list/src/wayland_subscription.rs index c5658db4..c9f13d79 100644 --- a/cosmic-app-list/src/wayland_subscription.rs +++ b/cosmic-app-list/src/wayland_subscription.rs @@ -12,7 +12,7 @@ use futures::{ SinkExt, StreamExt, }; use once_cell::sync::Lazy; -use std::{fmt::Debug, hash::Hash, thread::JoinHandle}; +use std::fmt::Debug; use tokio::sync::Mutex; use crate::wayland_handler::wayland_handler; @@ -107,5 +107,4 @@ pub enum WaylandRequest { pub enum ToplevelRequest { Activate(ZcosmicToplevelHandleV1), Quit(ZcosmicToplevelHandleV1), - Exit, }