This commit is contained in:
Ashley Wulber 2022-06-20 15:03:44 -04:00
parent 3b4f15b935
commit 8a3fd21b26
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 3 additions and 1 deletions

View file

@ -38,6 +38,8 @@ use self::generated::client::{
zext_workspace_handle_v1::{self, ZextWorkspaceHandleV1},
};
// TODO check panel config to find which output we are on and ignore outputs which are different
pub fn spawn_workspaces(tx: glib::Sender<State>) -> mpsc::Sender<WorkspaceEvent> {
let (workspaces_tx, mut workspaces_rx) = mpsc::channel(100);
if let Ok(Ok(conn)) = std::env::var("HOST_WAYLAND_DISPLAY")