diff --git a/src/ifs/wl_seat.rs b/src/ifs/wl_seat.rs index 4beea4b9..6765f02b 100644 --- a/src/ifs/wl_seat.rs +++ b/src/ifs/wl_seat.rs @@ -255,6 +255,12 @@ pub struct WlSeatGlobal { simple_im_enabled: Cell, } +impl PartialEq for WlSeatGlobal { + fn eq(&self, other: &Self) -> bool { + self.id == other.id + } +} + #[derive(Copy, Clone)] enum MarkMode { Mark,