From 8a3fd21b262200cdc85efb0e869260317445cef5 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 20 Jun 2022 15:03:44 -0400 Subject: [PATCH] note --- Cargo.lock | 2 +- applets/cosmic-applet-workspaces/src/wayland.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index b462569a..a3f3bc9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -428,7 +428,7 @@ dependencies = [ [[package]] name = "cosmic-panel-config" version = "0.1.0" -source = "git+https://github.com/pop-os/cosmic-panel/#231dc1ec0656840458d9f0d3468d9c7ea5c2a98c" +source = "git+https://github.com/pop-os/cosmic-panel#231dc1ec0656840458d9f0d3468d9c7ea5c2a98c" dependencies = [ "anyhow", "gtk4", diff --git a/applets/cosmic-applet-workspaces/src/wayland.rs b/applets/cosmic-applet-workspaces/src/wayland.rs index a3419561..53f07049 100644 --- a/applets/cosmic-applet-workspaces/src/wayland.rs +++ b/applets/cosmic-applet-workspaces/src/wayland.rs @@ -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) -> mpsc::Sender { let (workspaces_tx, mut workspaces_rx) = mpsc::channel(100); if let Ok(Ok(conn)) = std::env::var("HOST_WAYLAND_DISPLAY")