diff --git a/src/ifs/wl_output.rs b/src/ifs/wl_output.rs index 9d165ba9..f90f5645 100644 --- a/src/ifs/wl_output.rs +++ b/src/ifs/wl_output.rs @@ -94,6 +94,12 @@ pub struct WlOutputGlobal { CopyHashMap<(ClientId, WpColorManagementOutputV1Id), Rc>, } +impl PartialEq for WlOutputGlobal { + fn eq(&self, other: &Self) -> bool { + self.name == other.name + } +} + #[derive(Default)] pub struct OutputGlobalOpt { pub global: CloneCell>>,