mirror of
https://github.com/0intro/wmii
synced 2025-02-07 09:54:56 +03:00
stacks are titled in pager, if the scaled rect is smaller than bar_height()
This commit is contained in:
parent
4c9fe5addc
commit
eb6f1ac641
@ -55,8 +55,13 @@ draw_pager_client(Client *c, Draw *d)
|
||||
d->color = def.sel;
|
||||
else
|
||||
d->color = def.norm;
|
||||
|
||||
d->data = c->name;
|
||||
scale_rect(&rect, &initial_rect, &c->frame.rect, &d->rect);
|
||||
|
||||
if(d->rect.height < bar_height())
|
||||
d->data = nil;
|
||||
|
||||
blitz_drawlabel(dpy, d);
|
||||
XSync(dpy, False); /* do not clear upwards */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user