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: transparent borders #1

Merged
merged 1 commit into from
Jan 1, 2022

Conversation

rishitxyz
Copy link
Contributor

fixing transparent borders that appear in some windows in dwm.

For the entire issue, look here.

Issue Faced

  • The issue was when using alacritty terminal, it had transparent borders unlike other windows/apps which I was using irrespective of together or alone. I thought this probably be a problem in picom but after tweaking its config, looking at the documentation and issues, I searched about this problem it appeared here. Now, going to this, tells me it is a wm problem and it should be because we have tried everything with picom and it didn't get fixed. This is actually not a problem with voidwm but a problem with dwm itself.

Solution

  • To fix this, there are two ways of doing it. One to apply alpha patch to dwm but it will make the code messy and we need to update and manage another dwm patch. The other one was one liner and easier which is this.

  • Added this line drw.c and it works great.

  • I have added those two lines here so if anyone in future uses voidwm, it will work as intended for them.

Let me know if you want to know more about this or need screenshots. There are screenshots available in the main issue in picom repo, but if needed I will provide them.

fixing transparent borders that appear in some windows in dwm
@jitessh jitessh merged commit 2ab061c into jitessh:master Jan 1, 2022
@jitessh
Copy link
Owner

jitessh commented Jan 1, 2022

Thank you for providing a detailed overview of the bug. I don't use transparent terminals so I've never faced this bug myself, but it seems many have. I've merged the PR, so let me know if it still persists.

@rishitxyz
Copy link
Contributor Author

I have tested this myself as I use voidwm and it works as intended. Thanks for this great project!

@jitessh
Copy link
Owner

jitessh commented Jan 1, 2022

Thank you for using voidwm & a happy GNU year!

@rishitxyz
Copy link
Contributor Author

Happy GNU Year!

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.

2 participants