]> git.armaanb.net Git - dmenu.git/commit
import new drw from libsl and minor fixes.
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 21 May 2016 19:51:14 +0000 (21:51 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 3 Jun 2016 17:13:15 +0000 (19:13 +0200)
commit44c7de3dcf49ee568863f55610f40c7a05b4dfe7
tree1a3e45f6e616ff256a0d195272d68ca69f5c153f
parentb3d9451c2ddfad7c1b10e9a868afed4d92b37e41
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)
config.def.h
dmenu.c
drw.c
drw.h
util.h