config: implement shortcut latching
This commit is contained in:
parent
90dbde99ab
commit
6f55675bdb
14 changed files with 367 additions and 93 deletions
|
|
@ -19,6 +19,7 @@ pub struct ServerFeature(u16);
|
|||
|
||||
impl ServerFeature {
|
||||
pub const NONE: Self = Self(0);
|
||||
pub const MOD_MASK: Self = Self(1);
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
@ -73,6 +74,12 @@ pub enum ServerMessage {
|
|||
Features {
|
||||
features: Vec<ServerFeature>,
|
||||
},
|
||||
InvokeShortcut2 {
|
||||
seat: Seat,
|
||||
unmasked_mods: Modifiers,
|
||||
effective_mods: Modifiers,
|
||||
sym: KeySym,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue