summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-24 00:26:26 +0200
committerbakkeby <[email protected]>2020-08-24 00:26:26 +0200
commit7ce66bf122fd8b7288a5e0ddf0d0e312a0f08456 (patch)
treea8f04c431b16013d8465d9e1324cea2ae1269436 /patch
parent939a407e250059adedadce4b121fcf3fd3e429e3 (diff)
downloaddwm-flexipatch-7ce66bf122fd8b7288a5e0ddf0d0e312a0f08456.tar.gz
dwm-flexipatch-7ce66bf122fd8b7288a5e0ddf0d0e312a0f08456.zip
Identified and fixed a few more cross-compilation issues related to prior refactoring / simplification
Diffstat (limited to 'patch')
-rw-r--r--patch/bar_powerline_status.c2
-rw-r--r--patch/bar_powerline_tags.c4
-rw-r--r--patch/bar_statuscolors.c6
-rw-r--r--patch/bar_tabgroups.c2
4 files changed, 5 insertions, 9 deletions
diff --git a/patch/bar_powerline_status.c b/patch/bar_powerline_status.c
index 3e2ee6a..03847d6 100644
--- a/patch/bar_powerline_status.c
+++ b/patch/bar_powerline_status.c
@@ -102,7 +102,7 @@ drawpowerlinestatus(int xpos, char *stext)
drw_setscheme(drw, nxtscheme);
w = TEXTW(bs+2);
- drw_text(drw, x - w, 0, w, bh, lrpad / 2, bs+2, 0);
+ drw_text(drw, x - w, 0, w, bh, lrpad / 2, bs+2, 0, False);
x -= w;
bp = *bs;
diff --git a/patch/bar_powerline_tags.c b/patch/bar_powerline_tags.c
index 38035ff..b627c8f 100644
--- a/patch/bar_powerline_tags.c
+++ b/patch/bar_powerline_tags.c
@@ -61,8 +61,8 @@ draw_pwrl_tags(Bar *bar, BarDrawArg *a)
#endif // BAR_POWERLINE_TAGS_SLASH_PATCH
x += plw;
drw_setscheme(drw, nxtscheme);
- drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], invert);
- drawindicator(m, NULL, occ, x, w, i, -1, invert, tagindicatortype);
+ drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], invert, False);
+ drawindicator(bar->mon, NULL, occ, x, w, i, -1, invert, tagindicatortype);
x += w;
prevscheme = nxtscheme;
}
diff --git a/patch/bar_statuscolors.c b/patch/bar_statuscolors.c
index cc24ad4..a443056 100644
--- a/patch/bar_statuscolors.c
+++ b/patch/bar_statuscolors.c
@@ -12,11 +12,7 @@ textw_wosc(char *s)
}
ctmp = *ts;
*ts = '\0';
- #if BAR_PANGO_PATCH
- sw += drw_font_getwidth(drw, tp, True);
- #else
- sw += drw_fontset_getwidth(drw, tp);
- #endif // BAR_PANGO_PATCH
+ sw += drw_fontset_getwidth(drw, tp, True);
*ts = ctmp;
if (ctmp == '\0')
break;
diff --git a/patch/bar_tabgroups.c b/patch/bar_tabgroups.c
index 055094d..798f67b 100644
--- a/patch/bar_tabgroups.c
+++ b/patch/bar_tabgroups.c
@@ -59,7 +59,7 @@ bartabdraw(Monitor *m, Client *c, int unused, int x, int w, int groupactive, Arg
pad = (w - TEXTW(c->name) + lrpad) / 2;
#endif // BAR_CENTEREDWINDOWNAME_PATCH
- drw_text(drw, x, 0, w, bh, pad, c->name, 0);
+ drw_text(drw, x, 0, w, bh, pad, c->name, 0, False);
if (c->isfloating)
drawindicator(m, c, 1, x, w, 0, 0, c->isfixed, floatindicatortype);