Tomas-M / xlunch

Graphical app launcher for X with minimal dependencies
http://xlunch.org
GNU General Public License v3.0
219 stars 37 forks source link

Can I have a transparent background, but not transparent icons? #121

Closed Botspot closed 3 years ago

Botspot commented 3 years ago

Let's say I wanted xlunch to have a mostly-transparent, dark background: xlunch --bc 00000070

If the xlunch window is positioned above a dark-colored window, the icons look like:
2020-11-25-173122_1920x1080_scrot
Notice that you can see the text behind the icons. That's not what I want. I want the icons to remain opaque.

But if the xlunch window is positioned above a light-colored window, the icons look like this:
2020-11-25-173218_1920x1080_scrot
The icons are totally washed out and hard to see.

How difficult would it be to fix this?

PMunch commented 3 years ago

Hmm, I think this is actually a simple bug. Imlib is context-dependent, so maybe it sets the transparency and never resets it somewhere. I'll look into it.

Botspot commented 3 years ago

Wouldn't it be better to leave this issue open until the issue is fixed? (assuming you plan to fix it)

PMunch commented 3 years ago

I have fixed it, that's why I closed the issue. Wouldn't close it without fixing it.

Botspot commented 3 years ago

Oh I see.
Will recompile.