Re: [hackers] [libsl|dmenu][PATCH v2] Fix truncation issues and improve performance

From: Stein Gunnar Bakkeby <bakkeby_AT_gmail.com>
Date: Tue, 29 Mar 2022 17:18:12 +0200

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).
Received on Tue Mar 29 2022 - 17:18:12 CEST

This archive was generated by hypermail 2.3.0 : Tue Mar 29 2022 - 22:48:34 CEST