bakkeby / dwm-flexipatch

A dwm build with preprocessor directives to decide which patches to include during build time
MIT License
1.18k stars 239 forks source link

Is there a method to hide specific floating window's border by checking it's xprop and set it in rules? #392

Closed ysl2 closed 1 year ago

ysl2 commented 1 year ago

I don't want the float border shows in some application like the file manager, beacuse it renders incorrectly. Is there a method that I can write the rule to skip it? for example, a isborder option like issticky, isfloat, etc.

image

bakkeby commented 1 year ago

Yes there is the decoration hints patch that may work: https://dwm.suckless.org/patches/decoration_hints/

In this particular case it may also be an issue with the gtk theme, refer to: https://www.reddit.com/r/dwm/s/Pfhm6Nk68c

ysl2 commented 1 year ago

I would say it's sooo cool! I just flip the DECORATION_HINTS_PATCH to 1 then re-make, and things gets normal! Thank you!!!