diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-10-02 12:32:47 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-10-02 13:53:24 (GMT) |
commit | 3301e993ada9fc794dcbba65e8ee28c1ebe5621a (patch) | |
tree | c413f0fccbafc5268d830776627774aa1a7e0284 /src/tests/StringUtiltest.cc | |
parent | a375fdb1832db072008fab5e8e6d2c56372f31ad (diff) | |
download | fluxbox-3301e993ada9fc794dcbba65e8ee28c1ebe5621a.zip fluxbox-3301e993ada9fc794dcbba65e8ee28c1ebe5621a.tar.bz2 |
Make preferredWidth max from un- and focused width
This is notably an issue if the focused font differs from the unfocused
font (eg. is bold or bigger)
Updating the value with the state leads to ugly judder (nasty when minimizing
a window through the iconbar) and not handling this causes random button
widths (depending on whether the button was focused when checking the value)
Diffstat (limited to 'src/tests/StringUtiltest.cc')
0 files changed, 0 insertions, 0 deletions