Skip to content

Commit 66a2284

Browse files
committed
prevent win key combo
1 parent a2e004a commit 66a2284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ public bool Validate(bool validateKeyGestrue = false)
169169
case Key.RightShift:
170170
case Key.None:
171171
return false;
172-
case Key.LWin:
173-
case Key.RWin:
172+
case Key.LWin when ModifierKeys == ModifierKeys.Windows:
173+
case Key.RWin when ModifierKeys == ModifierKeys.Windows:
174174
return true;
175175
default:
176176
if (validateKeyGestrue)

0 commit comments

Comments
 (0)