From 54233cba2343a75478a59cda0384b41f745f67eb Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Sat, 7 Mar 2026 14:06:56 +0100 Subject: [PATCH] wl_output: implement PartialEq --- src/ifs/wl_output.rs | 6 ++++++ 1 file changed, 6 insertions(+) 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>>,