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

Moving a window to a different space through a rule will trigger the focused event in the wrong order #564

Closed
koekeishiya opened this issue Jun 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@koekeishiya
Copy link
Owner

Because the AX API can return window created event and application launched event before the launched/created event, we catch and reconstruct the event if necessary. When a window is moved through a rule, we reconstruct the events in the wrong order, because the window gets focused, is moved to an inactive space, and we refocus the currently focused window on the active space. This out-of-order construction causes yabai to cache the wrong window as the currently focused window and causes opacity etc. to be wrongly applied.

@koekeishiya koekeishiya added the bug Something isn't working label Jun 10, 2020
koekeishiya added a commit that referenced this issue Jun 10, 2020
@koekeishiya koekeishiya added the addressed on master; not released Fixed upstream, but not yet released label Jun 10, 2020
@koekeishiya koekeishiya removed the addressed on master; not released Fixed upstream, but not yet released label Jun 13, 2020
unrevre pushed a commit to unrevre/yabai that referenced this issue Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant