From: Markus Teich Date: Sat, 21 May 2016 19:51:14 +0000 (+0200) Subject: import new drw from libsl and minor fixes. X-Git-Url: https://git.xinqibao.xyz/dmenu.git/commitdiff_plain/44c7de3dcf49ee568863f55610f40c7a05b4dfe7?ds=inline;hp=44c7de3dcf49ee568863f55610f40c7a05b4dfe7 import new drw from libsl and minor fixes. - extract drawitem function (code deduplication) - fix bug where inputw was not correctly calculated from the widest item, but just from the one with the longest strlen() which is not the same. It's better now, but does not account for fallback fonts, since it would be too slow to calculate all the correct item widths on startup. - minor code style fixes (indentation, useless line breaks) ---