Skip to content

Commit

Permalink
Add repeating event support for relative window focus
Browse files Browse the repository at this point in the history
  • Loading branch information
zenangst committed Jun 13, 2024
1 parent 2ce0ab6 commit b1550ff
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion App/Sources/Core/Runners/MachPortCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,16 @@ private extension Collection where Element == Command {
allSatisfy { element in
switch element {
case .keyboard, .menuBar, .windowManagement: true
default: false
case .systemCommand(let command):
switch command.kind {
case .moveFocusToNextWindowUpwards: true
case .moveFocusToNextWindowOnLeft: true
case .moveFocusToNextWindowOnRight: true
case .moveFocusToNextWindowDownwards: true
default:
false
}
default: false
}
}
}
Expand Down

0 comments on commit b1550ff

Please sign in to comment.