diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-05-21 21:51:14 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-06-03 19:13:15 +0200 |
commit | 44c7de3dcf49ee568863f55610f40c7a05b4dfe7 (patch) | |
tree | 1a3e45f6e616ff256a0d195272d68ca69f5c153f /drw.c%25252525253fid%25252525253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7%252525253fid%252525253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7&id2%252525253db3d9451c2ddfad7c1b10e9a868afed4d92b37e41%2525253fid%2525253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7&id2%2525253db3d9451c2ddfad7c1b10e9a868afed4d92b37e41%25253fid%25253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7&id2%25253db3d9451c2ddfad7c1b10e9a868afed4d92b37e41%253fid%253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7%3fid%3d44c7de3dcf49ee568863f55610f40c7a05b4dfe7?id=44c7de3dcf49ee568863f55610f40c7a05b4dfe7 | |
parent | b3d9451c2ddfad7c1b10e9a868afed4d92b37e41 (diff) |
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)
Diffstat (limited to 'drw.c%25252525253fid%25252525253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7%252525253fid%252525253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7&id2%252525253db3d9451c2ddfad7c1b10e9a868afed4d92b37e41%2525253fid%2525253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7&id2%2525253db3d9451c2ddfad7c1b10e9a868afed4d92b37e41%25253fid%25253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7&id2%25253db3d9451c2ddfad7c1b10e9a868afed4d92b37e41%253fid%253d44c7de3dcf49ee568863f55610f40c7a05b4dfe7%3fid%3d44c7de3dcf49ee568863f55610f40c7a05b4dfe7?id=44c7de3dcf49ee568863f55610f40c7a05b4dfe7')
0 files changed, 0 insertions, 0 deletions