Fullscreen window and minimize others #1416
-
|
Hey i use transparent terminal and when i fullscreen a window other windows in the same workspace are still visible is there option to fullscreen window and minimize other windows |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
|
I've got a branch up for this feature, and I'm bringing it to this discussion in an attempt to keep within the desired My two questions are:
And then not really a question, but if you look at my implementation and would like some edits to names or code style, please let me know. I'd like to conform to the project's style and patterns as much as possible. ContextI'll first describe my initial naive attempt to add this feature. I saw that I updated the After some investigation I discovered the refresh logic and the layoutRecursive logic. This made me realize that I was hiding the windows in the command logic, but subsequent layout operations would un-hide them. They are windows in the active workspace so the layout logic was, very reasonably, trying to ensure they stayed visible. I had attempted to use a new property to mark those hidden windows as This was also when I realized that Overview of my implementationNow I have a property, I have a unit test that just looks to verify that the property is set and un-set correctly, but does not assert on the hidden windows. This is because the command logic does not operate on the hidden windows directly. I updated the logic in This hides the windows correctly, and ensures they aren't immediately unhidden by the layout logic, because the fullscreen window is still the most recent one. But when I do NOTE: i'm currently hardcoding the corner to hide them in. I'll update that, but wanted to figure out the answer to question |
Beta Was this translation helpful? Give feedback.

#1424