mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-20 23:12:44 +00:00
Bad indenting in bartruecenteredtitle.
This commit is contained in:
@@ -37,7 +37,7 @@ index ece537a..9eb816b 100644
|
|||||||
- drwl_rect(m->drw, x + boxs, boxs, boxw, boxw, 0, 0);
|
- drwl_rect(m->drw, x + boxs, boxs, boxw, boxw, 0, 0);
|
||||||
+ drwl_rect(m->drw,
|
+ drwl_rect(m->drw,
|
||||||
+ !centeredtitle || tw > w ? x + boxs : x + ((w - tw) / 2 - boxs * 8),
|
+ !centeredtitle || tw > w ? x + boxs : x + ((w - tw) / 2 - boxs * 8),
|
||||||
boxs, boxw, boxw, 0, 0);
|
+ boxs, boxw, boxw, 0, 0);
|
||||||
} else {
|
} else {
|
||||||
drwl_setscheme(m->drw, colors[SchemeNorm]);
|
drwl_setscheme(m->drw, colors[SchemeNorm]);
|
||||||
drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1);
|
drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user