mirror of
https://github.com/bakkeby/dwm-flexipatch
synced 2024-11-18 21:28:09 +00: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); |