Fixing status2d and statuscmd / dwmblocks compatibility issues.
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.
This commit is contained in:
@ -1 +1,2 @@
|
||||
static int drawstatusbar(Monitor *m, int bh, char* text, int stw, int stp);
|
||||
static int drawstatusbar(Monitor *m, int bh, char* text, int stw, int stp);
|
||||
static int status2dtextlength(char* stext);
|
Reference in New Issue
Block a user