shortcuts: touchpad toggle keybind
This commit is contained in:
parent
b75be5b305
commit
b19f66702f
4 changed files with 21 additions and 18 deletions
|
|
@ -1701,6 +1701,7 @@ impl State {
|
|||
));
|
||||
let key_pattern = shortcuts::Binding {
|
||||
modifiers: cosmic_modifiers_from_smithay(modifiers.clone()),
|
||||
keycode: None,
|
||||
key: Some(handle.modified_sym()),
|
||||
description: None,
|
||||
};
|
||||
|
|
@ -1759,6 +1760,7 @@ impl State {
|
|||
Action::Private(PrivateAction::Escape),
|
||||
shortcuts::Binding {
|
||||
modifiers: shortcuts::Modifiers::default(),
|
||||
keycode: None,
|
||||
key: Some(Keysym::Escape),
|
||||
description: None,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ impl KeyboardGrab<State> for SwapWindowGrab {
|
|||
modifiers: modifiers
|
||||
.map(cosmic_modifiers_from_smithay)
|
||||
.unwrap_or_default(),
|
||||
keycode: None,
|
||||
key: Some(handle.keysym_handle(keycode).modified_sym()),
|
||||
description: None,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue