-
Notifications
You must be signed in to change notification settings - Fork 132
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
Add option to maximize windows within the tiling flow #871
Conversation
Not quite a fix, but does work as a workaround for #870, along with just being a desired behavior for some users.
Thanks for your contribution! We don't accept pull requests to the |
Thanks @valpackett! Question - does this need to be an option? E.g. shouldn't this be enabled as normal behaviour? |
I can have a look at this one. |
I mean, I can definitely imagine people wanting to have gaps/margins for non-maximized windows, but maximized windows being actually fully maximized beyond that? But if you like this as well, we can change the default to |
Sorry, I may have not expressed that correctly. I'll have a look at this PR tonight. What I meant was though, this appears to add/enable I may be misunderstanding something though. Will check out out tonight. |
ah, I see, it's changes the Okay, I like that behaviour too (max-width in tiling rather than maxmising the window). Will give it a test. I'm inclined to make that behaviour |
think should be animated (as it's not an intermediate layout operation).
Hey @valpackett - made a few small changes (mainly setting this to true by default). Have a last look/test and let me know. Otherwise, happy with this. Will merge in after that. |
LGTM of course |
Hey @valpackett - noticed an issue with some windows where they don't get restored to original width (happens for me in |
Ah, no, that wasn't it. Anyways, will fix that one before releasing these changes. |
Okay, that's the problem, we're calling an |
hm. I'm honestly not sure how restore even ended up working :) |
Ah, I implemented that a while ago. We save the window frame dimensions when maximising, for restore. |
Not quite a fix, but does work as a workaround for #870, along with just being a desirable behavior for some users. (Like me xD)
Surprisingly it's all I've had to do, with zero special handling the unmaximize operation just worked as restoring to previous size, it worked with vertical tiling too, etc :)
paperwm-maxi-within.webm
(Windows flashing blank here is a screencast thing 0_o that wasn't visible on the actual screen!)
Unconditionally doing a relayout fixes the weirdly-cropped state described in #870, but I have no idea about the slightly-off-screen-and-not-clickable state that happens with more than one window open…