create event system
This commit is contained in:
parent
21819e27d2
commit
18a0c78657
9 changed files with 65 additions and 5 deletions
|
|
@ -56,7 +56,7 @@ use {
|
|||
clonecell::CloneCell,
|
||||
copyhashmap::CopyHashMap,
|
||||
errorfmt::ErrorFmt,
|
||||
event_listener::EventSource,
|
||||
event_listener::{EventSource, LazyEventSource},
|
||||
hash_map_ext::HashMapExt,
|
||||
linkedlist::{LinkedList, NodeRef},
|
||||
on_drop_event::OnDropEvent,
|
||||
|
|
@ -127,6 +127,7 @@ pub struct OutputNode {
|
|||
pub pinned: LinkedList<Rc<dyn PinnedNode>>,
|
||||
pub tearing: Cell<bool>,
|
||||
pub active_zwlr_gamma_control: CloneCell<Option<Rc<ZwlrGammaControlV1>>>,
|
||||
pub workspace_switched: Rc<LazyEventSource>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue