refactor: better event types

This commit is contained in:
Ashley Wulber 2022-06-16 12:08:31 -04:00
parent 3a41e58159
commit c67f6fdb2d
4 changed files with 12 additions and 13 deletions

View file

@ -6,11 +6,6 @@ use gtk4::glib;
use std::future::Future;
pub type Activate = u32;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct WorkspaceEvent {
pub(crate) id: u32,
pub(crate) active: bool,
}
pub fn data_path() -> PathBuf {
let mut path = glib::user_data_dir();