Take focused window to new context, Remember renamed workspaces #5
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.
Hey, I would like to revive this project and have started with two features.
First, I have implemented a minimal solution for #2. This can probably be extended to be more useful. Currently, it only supports taking a window with you when switching contexts. It does not support just sending a window to another context.
Also, I noticed a bug, which probably only occuers in combination with Smart Borders.
When taking a full screen window (so no borders) from context A to context B and the window is not full screen in context B, the borders are missing. A workaround is to switch to another context and then back.
I have tried
refresh
andrescreen
but they don't solve this. I am not too deep into XMonad to tell how to solve thisSecondly, I am using NamedWindows, so I have implemented that the named workspaces are stored per context.
This should not influence the behavior when not using NamedWIndows, but this is untested.
I am happy to explain any part of the code, or change or remove parts from this PR.
PS: While trying to understand how this plugin works, I have renamed some variables. I think they are a bit easier to understand now, but if you want, I can change them back.