fix(keybinds): adapt key_bind.matches to new 3-arg signature
Upstream libcosmic added an Option<&Physical> third parameter to KeyBind::matches for physical-key matching. We pass None at every call site since these paths only have the logical key available. Also refresh Cargo.lock to satisfy the libcosmic-yoda squash rebase absorbed on 2026-05-25. Leyoda 2026 – GPLv3
This commit is contained in:
parent
4d05e77e1b
commit
87128d72d6
3 changed files with 4 additions and 4 deletions
|
|
@ -942,7 +942,7 @@ where
|
|||
..
|
||||
}) if state.is_focused && named == modified_named => {
|
||||
for key_bind in self.key_binds.keys() {
|
||||
if key_bind.matches(*modifiers, &Key::Named(*named)) {
|
||||
if key_bind.matches(*modifiers, &Key::Named(*named), None) {
|
||||
shell.capture_event();
|
||||
return;
|
||||
}
|
||||
|
|
@ -1130,7 +1130,7 @@ where
|
|||
..
|
||||
}) if state.is_focused => {
|
||||
for key_bind in self.key_binds.keys() {
|
||||
if key_bind.matches(*modifiers, key) {
|
||||
if key_bind.matches(*modifiers, key, None) {
|
||||
shell.capture_event();
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue