mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
2e30bddc16
Text width calculations when using status2d strings resulted in statuscmd button placement calculations to be way off. Fixed by introducing a separate function status2dtextlength to get an approximate correct text width.
2 lines
119 B
C
2 lines
119 B
C
static int drawstatusbar(Monitor *m, int bh, char* text, int stw, int stp);
|
|
static int status2dtextlength(char* stext); |