Add config for which window to focus after active one was closed#32
Draft
Add config for which window to focus after active one was closed#32
Conversation
88d8fec to
7517f6f
Compare
TODO: fenster verschwinden z.B. auch bei send-to-monitor When the active window was closed, this setting decides which window is then to be focused (so kind of like the opposite of tilingInsertion).
There seem to be cases where – when closing e.g. an active explorer window – a "hidden" event occurs first, then a "focus" event according to z-order and eventually a "destroyed" event. Because of the focus-switch in between the destroyed window is not the active one anymore and no window is actively set as the new active one with respects to focusAfterClose. This commit adds remembering a hidden window if it was active, and in case said window gets closed within a specific duration after being hidden, it'll be treated as a regular close event of the active window.
7517f6f to
1c7552b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.