diff --git a/komorebi-for-kde/komorebi/src/container.rs b/komorebi-for-kde/komorebi/src/container.rs index fb576066..dc91284f 100644 --- a/komorebi-for-kde/komorebi/src/container.rs +++ b/komorebi-for-kde/komorebi/src/container.rs @@ -9,6 +9,7 @@ use crate::window::Window; use komorebi_core::ContainerWindow; +use komorebi_core::WorkspaceWindow; /// The windows that share one tile of a workspace's layout pub type Container = komorebi_core::Container; @@ -41,6 +42,24 @@ impl ContainerWindow for Window { } } +impl WorkspaceWindow for Window { + fn title(&self) -> Option { + Window::title(*self) + } + + fn exe(&self) -> Option { + Window::exe(*self) + } + + fn class(&self) -> Option { + Window::class(*self) + } + + fn path(&self) -> Option { + Window::path(*self) + } +} + #[cfg(test)] mod tests { use super::*;