On Thu, Apr 19, 2007 at 05:27:32PM +1200, Karl. wrote:
> I'm looking at the status-text drawing functions and thinking about 
> attempting some patching, to scratch one of my itches.
> 
> At line 80 of draw.c (hg tip), I find this line:
> 
>       if((dc.w = dc.x - x) > bh) {
> 
> As far as I can see, it is comparing a width with the bar height.  Does 
> this make any sense?  Am I grossly misunderstanding?

This check prevents dwm from drawing client titles if there is
less horizontal space left than the bar height...

Regards,
-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361

Reply via email to