~fluxbox-maintainers/fluxbox/development

Viewing all changes in revision 5983.

  • Committer: Thomas Lübking
  • Date: 2016-10-02 13:53:24 UTC
  • Revision ID: git-v1:3301e993ada9fc794dcbba65e8ee28c1ebe5621a
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)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: