Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): focus single window on show event
This commit makes sure we refocus the window on `Show` event when it is the only window on the workspace. This is needed because some windows send the `FocusChange` event before the `Show` event and on the first event we will be focusing the desktop window to unfocus any previous window from other workspace because the workspace will still be empty. So after adding the window, we need to focus it again.
- Loading branch information