cococry / ragnar

Minimal, flexible & user-friendly X tiling window manager
https://ragnarwm.org
GNU General Public License v3.0
1.01k stars 21 forks source link

Picom transparency/opacity not working #52

Open Cameron-Cooper22 opened 1 month ago

Cameron-Cooper22 commented 1 month ago

Picom doesn't work correctly with blur/transparency. I'm on Arch with Ragnar 1.4, I can get every part of picom to work except for transparency/opacity. When I have tried to use picom-trans, it freezes. Even when I use '''picom-trans -g''' to get the current window's opacity, it doesnt print anything. and it just stays there until I Ctrl-C. Not sure if this is a bug or a feature to be implemented but figured this is the best place to go for it.

cococry commented 1 month ago

set WINDOW_TRANSPARENT_FRAME in the config.h to true.

Cameron-Cooper22 commented 1 month ago

Just tried it, appears to only effect the border of the window and not the window itself for some odd reason. I have tried the normal picom, pijulius' fork as well as jonaburg. Also looked into ragnar.c to see if the XCreateWindow() and XCompositeRedirect() were good and it looks like it should work, except for the fact that it just isn't. Also did not work with Ragnar 1.3.1. I then checked on my i3 setup and picom was working just fine with the same file, and I haven't been able to find out more as to why it works there but not for this.