Skip to content
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

Fix toplevel borders #171

Merged
merged 3 commits into from
Jul 7, 2023

Conversation

EvysGarden
Copy link
Contributor

I've added an additional check in render_view_toplevels(...) for the smart_borders setting to fix the issue with transparent borders on smart_borders on and smart_borders no_gaps.

This should fix some issues mentioned in #135.

It seems you have some plans for reworking the border rendering altogether but as of right now, this is a very simple fix.

Some similar logic is happening in view_autoconfigure(...) so maybe this can be done more elegantly but I don't have a deep enough understanding of the codebase to do this more gracefully (if that's currently possible).

@WillPower3309 WillPower3309 linked an issue May 30, 2023 that may be closed by this pull request
2 tasks
@WillPower3309
Copy link
Owner

Thanks for the PR, I'll look at this within the next couple days :)

@WillPower3309
Copy link
Owner

going to look deeper into view_autoconfigure

@WillPower3309 WillPower3309 merged commit 061dfaa into WillPower3309:master Jul 7, 2023
@WillPower3309
Copy link
Owner

Sorry for the delay, thanks for the contribution!

rehanzo pushed a commit to rehanzo/swayfx that referenced this pull request Jul 12, 2023
* added check for smart

* expose gaps_to_edge

* add smart variable
WillPower3309 pushed a commit that referenced this pull request Jul 24, 2023
* added check for smart

* expose gaps_to_edge

* add smart variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clipped window with smart edge borders on
2 participants