feat: activation of apps
This commit is contained in:
parent
8223c76361
commit
86ed2d4e31
5 changed files with 185 additions and 84 deletions
|
|
@ -2,15 +2,15 @@
|
|||
//!
|
||||
//! This code was generated by `zbus-xmlgen` `2.0.1` from DBus introspection data.
|
||||
//! Source: `Interface '/org/freedesktop/UPower/KbdBacklight' from service 'org.freedesktop.UPower' on system bus`.
|
||||
|
||||
use cctk::sctk::reexports::client::protocol::wl_seat::WlSeat;
|
||||
use cctk::toplevel_info::ToplevelInfo;
|
||||
use cosmic::iced;
|
||||
use cosmic::iced::subscription;
|
||||
use cosmic_protocols::toplevel_info::v1::client::zcosmic_toplevel_handle_v1::ZcosmicToplevelHandleV1;
|
||||
use futures::{
|
||||
channel::mpsc::{unbounded, UnboundedReceiver},
|
||||
StreamExt,
|
||||
};
|
||||
use iced::subscription;
|
||||
use std::{fmt::Debug, hash::Hash};
|
||||
|
||||
use crate::toplevel_handler::toplevel_handler;
|
||||
|
|
@ -65,7 +65,7 @@ pub enum ToplevelUpdate {
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum ToplevelRequest {
|
||||
Activate(ZcosmicToplevelHandleV1),
|
||||
Activate(ZcosmicToplevelHandleV1, WlSeat),
|
||||
Quit(ZcosmicToplevelHandleV1),
|
||||
Exit,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue