Heyho, I am currently introducing the drw.[ch] part from libsl into one of my projects. Up until now I noticed a few weird points:
- Clr.border is never used - drw_rect does not use w and h parameters. It seems to be limited to use for drawing dwm's tag selection boxes. - The user has to create/free single Clrs, but they are only used inside the ClrScheme struct, which in turn is only used in drw_setscheme. Is libsl intended to be only used by dwm, dmenu, … or are patches welcome to fix such inconveniencies and generalize the interface a little bit to allow for a wider applicability? If this is the case, I would provide some patches for things I stumble upon during my work with libsl. --Markus