fix(libcosmic): fix item highlight in wayland context menu
This commit is contained in:
parent
91fd140ae3
commit
f5cbed08d6
2 changed files with 39 additions and 39 deletions
|
|
@ -943,7 +943,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), Some(&physical_key)) {
|
||||
if key_bind.matches(*modifiers, &Key::Named(*named), Some(physical_key)) {
|
||||
shell.capture_event();
|
||||
return;
|
||||
}
|
||||
|
|
@ -1133,7 +1133,7 @@ where
|
|||
..
|
||||
}) if state.is_focused => {
|
||||
for key_bind in self.key_binds.keys() {
|
||||
if key_bind.matches(*modifiers, key, Some(&physical_key)) {
|
||||
if key_bind.matches(*modifiers, key, Some(physical_key)) {
|
||||
shell.capture_event();
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue