feat: don't include hidden workspaces

This commit is contained in:
Ashley Wulber 2022-06-20 15:48:27 -04:00
parent 8a3fd21b26
commit 031ec45cd7
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
13 changed files with 98 additions and 55 deletions

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MPL-2.0-only
use std::cell::{RefCell, Cell};
use std::cell::{Cell, RefCell};
use glib::{ParamFlags, ParamSpec, Value};
use gtk4::gdk::glib::ParamSpecBoolean;

View file

@ -18,7 +18,10 @@ impl WorkspaceObject {
}
pub fn id(&self) -> String {
imp::WorkspaceObject::from_instance(&self).id.borrow().clone()
imp::WorkspaceObject::from_instance(&self)
.id
.borrow()
.clone()
}
pub fn active(&self) -> u32 {