diff --git a/src/wayland/seat/keyboard.rs b/src/wayland/seat/keyboard.rs index 0a9c309..08ba1a3 100644 --- a/src/wayland/seat/keyboard.rs +++ b/src/wayland/seat/keyboard.rs @@ -14,7 +14,7 @@ pub use xkbcommon::xkb::{keysyms, Keysym}; /// /// For some modifiers, this means that the key is currently pressed, others are toggled /// (like caps lock). -#[derive(Copy, Clone, Debug)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] pub struct ModifiersState { /// The "control" key pub ctrl: bool,