wayland: keyboard: do not borrow borrowed keysym when re-pressing
The value is already a &Keysym.
This commit is contained in:
parent
ab033c1f21
commit
397323b582
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ impl Keyboard for VirtualKeyboard {
|
|||
|
||||
for sym in &self.pressed {
|
||||
if *sym != Keysym::NoSymbol {
|
||||
let code = *self.keycodes.get(&sym).unwrap();
|
||||
let code = *self.keycodes.get(sym).unwrap();
|
||||
self.vk.key(0, code as u32, 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue