all repos — fluxbox @ a663db8fd369fb04ad55cfb599e8c7fdecca6d1e

custom fork of the fluxbox windowmanager

Fixed justification in WorkspaceNameTool #1213262, values were set after the
render() call was made.
mathias mathias
commit

a663db8fd369fb04ad55cfb599e8c7fdecca6d1e

parent

99a7f9a11084525e15407bdf7372728dadd7be98

2 files changed, 9 insertions(+), 4 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.14: +*05/06/07: + * Fixed justification in WorkspaceNameTool #1213262 (Mathias) + WorkspaceNameTool.cc *05/06/03: * Massive change of font handling (Mathias) - Usage of xft-fonts is prefered, except a font-description starts with '-'
M src/WorkspaceNameTool.ccsrc/WorkspaceNameTool.cc

@@ -127,6 +127,12 @@ }

} void WorkspaceNameTool::renderTheme(unsigned char alpha) { + + m_button.setJustify(m_theme.justify()); + m_button.setBorderWidth(m_theme.border().width()); + m_button.setBorderColor(m_theme.border().color()); + m_button.setAlpha(alpha); + if (!m_theme.texture().usePixmap()) { if (m_pixmap) m_screen.imageControl().removeImage(m_pixmap);

@@ -136,9 +142,5 @@ } else {

reRender(); } - m_button.setJustify(m_theme.justify()); - m_button.setBorderWidth(m_theme.border().width()); - m_button.setBorderColor(m_theme.border().color()); - m_button.setAlpha(alpha); m_button.clear(); }