feat: don't include hidden workspaces
This commit is contained in:
parent
8a3fd21b26
commit
031ec45cd7
13 changed files with 98 additions and 55 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue