maim
maim copied to clipboard
Herbstluftwm - transparent windows
I noticed while using Herbstluftwm that maim thinks windows are transparent if the attribute frame_bg_transparent is set to true.
Here is a screen of the frames with a transparent background:

And here is the same screen with non transparent background:

Which maim version are you using?
v5.4.66
Try v5.4.68 please.
That version is working correctly
Just to make sure, when you click on the transparent terminals while running maim -s, does it work as you intend? (It should screenshot the transparent window by itself, without any background).
To get around this functionality, you can run maim -g $(slop) instead.
maim -s is also working as intended.
Screenshot:

maim -sshould still have the transparency of the terminal, the image generated should be the transparent terminal composed onto a transparent background. It looks to me like the transparency was discarded in that image.
Could you give me a full screen shot with terminal transparency enabled(maim), with a shot of the specific terminal with transparency enabled(maim -s)?
I apologize that I wasn't clear enough, my terminals have no transparency. A feature of the window manager allows the frame to have a transparent background like so:

instead of like this:

Could you test if maim -s retains the transparency? This is a new feature that has had little testing, I just want to make sure it works as I intend.
Of course! Is what you wanted?
Full screenshot:

The transparent frame:

Yes! This is what I wanted. Thank you. It definitely looks wrong, as if the transparent block is offset incorrectly. I'll have to take a look later. I'll leave this open until I figure out what's wrong.