fix rename event in linux
This commit is contained in:
parent
c14619ef1f
commit
f441d2fe5e
2 changed files with 8 additions and 8 deletions
|
|
@ -562,8 +562,8 @@ impl<T: InvokeUiSession> Session<T> {
|
|||
let event = Event {
|
||||
time: SystemTime::now(),
|
||||
unicode: None,
|
||||
code: keycode as _,
|
||||
scan_code: scancode as _,
|
||||
platform_code: keycode as _,
|
||||
position_code: scancode as _,
|
||||
event_type: event_type,
|
||||
};
|
||||
keyboard::client::process_event(&event, Some(lock_modes));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue