feat: generated workspaces protocol and various improvements
This commit is contained in:
parent
bfa8fa58ff
commit
02e240b6bb
19 changed files with 480 additions and 110 deletions
|
|
@ -53,7 +53,6 @@ impl ObjectImpl for WorkspaceObject {
|
|||
false,
|
||||
ParamFlags::READWRITE,
|
||||
),
|
||||
|
||||
]
|
||||
});
|
||||
PROPERTIES.as_ref()
|
||||
|
|
|
|||
|
|
@ -19,11 +19,11 @@ impl WorkspaceObject {
|
|||
|
||||
pub fn id(&self) -> u32 {
|
||||
imp::WorkspaceObject::from_instance(&self).id.get()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn active(&self) -> bool {
|
||||
imp::WorkspaceObject::from_instance(&self).active.get()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Default, glib::Boxed)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue