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