File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -870,8 +870,9 @@ impl cosmic::Application for CosmicLauncher {
870
870
cosmic:: iced:: Event :: PlatformSpecific ( PlatformSpecific :: Wayland (
871
871
wayland:: Event :: Layer ( e, ..) ,
872
872
) ) => Some ( Message :: Layer ( e) ) ,
873
- cosmic:: iced:: Event :: Keyboard ( iced:: keyboard:: Event :: KeyReleased {
873
+ cosmic:: iced:: Event :: Keyboard ( iced:: keyboard:: Event :: KeyPressed {
874
874
key,
875
+ text,
875
876
modifiers,
876
877
..
877
878
} ) => match key {
@@ -897,14 +898,6 @@ impl cosmic::Application for CosmicLauncher {
897
898
Key :: Named ( Named :: Escape ) => Some ( Message :: Hide ) ,
898
899
Key :: Named ( Named :: Tab ) => Some ( Message :: TabRelease ) ,
899
900
Key :: Named ( Named :: Alt | Named :: Super ) => Some ( Message :: AltRelease ) ,
900
- _ => None ,
901
- } ,
902
- cosmic:: iced:: Event :: Keyboard ( iced:: keyboard:: Event :: KeyPressed {
903
- key,
904
- text,
905
- modifiers,
906
- ..
907
- } ) => match key {
908
901
Key :: Character ( _)
909
902
if matches!( status, Status :: Ignored )
910
903
&& modifiers. is_empty( )
You can’t perform that action at this time.
0 commit comments