For 0002 how about leaving the ellipsis_width as 0 and do this?

if (!ellipsis_width && render)
    ellipsis_width = drw_fontset_getwidth(drw, ellipsis);

Moving the "..." to a static(?) const variable named ellipsis would make it
easier to replace this with something else (like the ellipsis character for
example).

Reply via email to