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

kitty not transparent #9

Open
darkralts opened this issue Nov 14, 2020 · 3 comments
Open

kitty not transparent #9

darkralts opened this issue Nov 14, 2020 · 3 comments

Comments

@darkralts
Copy link

this git seems dead but for the low chance someone sees this i cant seem to get transparency working, is there any config or any source code i could change? idk anything about coding but it annoys me so i wanna try to fix it
maybe its a terminal issue not supporting transparency or just a compton issue but i have no idea
image

@apprehensions
Copy link

after some https://stackoverflow.com/questions/61622397/x11-cannot-draw-an-image-on-transparent-window-created-with-xcreatewindow

NOTE: THIS WILL BREAK ARGUMENT -bg.

oneko/oneko.c

Line 306 in 5bbb511

GCFunction | GCForeground | GCBackground | GCTile |

see GCBackground? change that to 0.
works for me as a temporary solution.

@apprehensions
Copy link

see that idiot above? the actual solution was CFLAG -DSHAPE. compiling without it will remove trasparency.
also make sure to have a compositor.

@hatkidchan
Copy link

the actual solution was CFLAG -DSHAPE. compiling without it will remove trasparency.

for me it works even without -DSHAPE, maybe this problem is related only to your distro? I can't really find anything related to SHAPE in sources. You sure you're running exactly this program?

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

No branches or pull requests

3 participants