feat: scrolling

This commit is contained in:
Ashley Wulber 2022-06-20 14:42:12 -04:00
parent 6657cd514b
commit 3b4f15b935
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
7 changed files with 73 additions and 15 deletions

View file

@ -11,7 +11,7 @@ use once_cell::sync::OnceCell;
use wayland::State;
use std::sync::{Arc, Mutex};
use tokio::sync::mpsc;
use utils::{Activate};
use utils::{Activate, WorkspaceEvent};
use window::CosmicWorkspacesWindow;
mod localize;
@ -24,7 +24,7 @@ mod workspace_list;
mod workspace_object;
const ID: &str = "com.system76.CosmicAppletWorkspaces";
static TX: OnceCell<mpsc::Sender<Activate>> = OnceCell::new();
static TX: OnceCell<mpsc::Sender<WorkspaceEvent>> = OnceCell::new();
pub fn localize() {
let localizer = crate::localize::localizer();