wl_seat: implement PartialEq
This commit is contained in:
parent
54233cba23
commit
13483de017
1 changed files with 6 additions and 0 deletions
|
|
@ -255,6 +255,12 @@ pub struct WlSeatGlobal {
|
|||
simple_im_enabled: Cell<bool>,
|
||||
}
|
||||
|
||||
impl PartialEq for WlSeatGlobal {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.id == other.id
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
enum MarkMode {
|
||||
Mark,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue