Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update window focus logic for consistency #550

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

zenangst
Copy link
Owner

Update SystemWindowRelativeFocus* to use systemWindows for sorting
and filtering. Ensure all window comparisons are done using the nested
window.rect properties. Add additional checks in loops for better
accuracy in determining next window. This enhances consistency and
accuracy in window navigation.

Update `SystemWindowRelativeFocus*` to use `systemWindows` for sorting
and filtering. Ensure all window comparisons are done using the nested
`window.rect` properties. Add additional checks in loops for better
accuracy in determining next window. This enhances consistency and
accuracy in window navigation.
Update SystemWindowRelativeFocus methods to return `currentWindow`
instead of `nil`. This ensures that the current window is 
correctly returned when the focus shift functions are called.
Copy link

@zenangst zenangst merged commit cf53e38 into main Jul 16, 2024
1 check failed
@zenangst zenangst deleted the focus-algorithm-improvements-and-bug-fixes branch July 16, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant