summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_statuscmd.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-22 20:31:17 +0200
committerbakkeby <[email protected]>2020-08-22 20:31:17 +0200
commit81f44b036c733ba6494e14a5c358a62186c575be (patch)
tree2dc3a5ccefa824df41cfad6bbbd0a0c45bd98619 /patch/bar_statuscmd.c
parent46ebaea58f121a33ed0d3ea07f40cfb70c9de2f9 (diff)
downloaddwm-flexipatch-81f44b036c733ba6494e14a5c358a62186c575be.tar.gz
dwm-flexipatch-81f44b036c733ba6494e14a5c358a62186c575be.zip
Simplified Pango integration by settling on common function signatures.
Diffstat (limited to 'patch/bar_statuscmd.c')
-rw-r--r--patch/bar_statuscmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/patch/bar_statuscmd.c b/patch/bar_statuscmd.c
index 0cd6013..a73fbac 100644
--- a/patch/bar_statuscmd.c
+++ b/patch/bar_statuscmd.c
@@ -35,11 +35,9 @@ click_statuscmd_text(Arg *arg, int rel_x, char *text)
text[i] = '\0';
#if BAR_STATUS2D_PATCH && !BAR_BAR_STATUSCOLORS_PATCH
x += status2dtextlength(text);
- #elif BAR_PANGO_PATCH
- x += TEXTWM(text) - lrpad;
#else
- x += TEXTW(text) - lrpad;
- #endif // STATUS2D_PATCH
+ x += TEXTWM(text) - lrpad;
+ #endif // BAR_STATUS2D_PATCH
text[i] = ch;
text += i+1;
i = -1;