File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ where
771
771
772
772
let chr = keycodes:: keysym_to_unicode ( & mut display. xkb , * keysym) ;
773
773
if chr > 0 {
774
- if let Some ( chr) = std :: char:: from_u32 ( chr as u32 ) {
774
+ if let Some ( chr) = char:: from_u32 ( chr as u32 ) {
775
775
event_handler. char_event ( chr, keymods, true ) ;
776
776
}
777
777
}
@@ -821,7 +821,7 @@ where
821
821
822
822
let chr = keycodes:: keysym_to_unicode ( & mut display. xkb , keysym) ;
823
823
if chr > 0 {
824
- if let Some ( chr) = std :: char:: from_u32 ( chr as u32 ) {
824
+ if let Some ( chr) = char:: from_u32 ( chr as u32 ) {
825
825
event_handler. char_event ( chr, keymods, false ) ;
826
826
}
827
827
}
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ impl X11Display {
67
67
) ;
68
68
let chr = keycodes:: keysym_to_unicode ( & mut self . libxkbcommon , keysym) ;
69
69
if chr > 0 {
70
- if let Some ( chr) = std :: char:: from_u32 ( chr as u32 ) {
70
+ if let Some ( chr) = char:: from_u32 ( chr as u32 ) {
71
71
event_handler. char_event ( chr, mods, repeat) ;
72
72
}
73
73
}
Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ unsafe extern "system" fn win32_wndproc(
462
462
let repeat = !!( lparam & 0x40000000 ) != 0 ;
463
463
let mods = key_mods ( ) ;
464
464
if chr > 0 {
465
- if let Some ( chr) = std :: char:: from_u32 ( chr as u32 ) {
465
+ if let Some ( chr) = char:: from_u32 ( chr as u32 ) {
466
466
event_handler. char_event ( chr, mods, repeat) ;
467
467
}
468
468
}
You can’t perform that action at this time.
0 commit comments