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

feat: reduce amount of calls to set native focus #390

Merged
merged 4 commits into from
Sep 13, 2023

Conversation

lars-berger
Copy link
Member

@lars-berger lars-berger commented Sep 11, 2023

  • Remove SetNativeFocusCommand. Add SyncNativeFocusCommand, which sets native focus to ContainerService.FocusedContainer.
  • Instead of native focus being set throughout certain CommandHandlers, it is now set after some events and at the end of keybindings.

@lars-berger lars-berger marked this pull request as ready for review September 13, 2023 16:39
@lars-berger lars-berger merged commit 12fd5b2 into master Sep 13, 2023
2 checks passed
@lars-berger lars-berger deleted the feat/reduce-calls-to-native-focus-command branch September 13, 2023 17:01
AryanSolanki637 pushed a commit to AryanSolanki637/GlazeWM that referenced this pull request Sep 18, 2023
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