diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-02-22 21:07:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-02-22 21:07:39 (GMT) |
commit | d11aa42ace928efc3dd1eebc8988b6bbbc005b2b (patch) | |
tree | 0574ed4eaa5092386d3cf5440c636ea586baaebe /src/WorkspaceNameTool.cc | |
parent | b7e84104a695bb3628e482c4be93f6f516e46e7d (diff) | |
download | fluxbox_pavel-d11aa42ace928efc3dd1eebc8988b6bbbc005b2b.zip fluxbox_pavel-d11aa42ace928efc3dd1eebc8988b6bbbc005b2b.tar.bz2 |
bugfix: consistent use of 'int' for alpha values (#3187373)
WindowMenuAccessor returned strange alpha values if compiled
with 'g++ -Os'; unholy black magic happens if template<int> faces
functions returning only 'usigned char'.
Diffstat (limited to 'src/WorkspaceNameTool.cc')
-rw-r--r-- | src/WorkspaceNameTool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorkspaceNameTool.cc b/src/WorkspaceNameTool.cc index fc944f9..3a4b275 100644 --- a/src/WorkspaceNameTool.cc +++ b/src/WorkspaceNameTool.cc | |||
@@ -147,7 +147,7 @@ void WorkspaceNameTool::reRender() { | |||
147 | } | 147 | } |
148 | } | 148 | } |
149 | 149 | ||
150 | void WorkspaceNameTool::renderTheme(unsigned char alpha) { | 150 | void WorkspaceNameTool::renderTheme(int alpha) { |
151 | 151 | ||
152 | m_button.setJustify(m_theme->justify()); | 152 | m_button.setJustify(m_theme->justify()); |
153 | m_button.setBorderWidth(m_theme->border().width()); | 153 | m_button.setBorderWidth(m_theme->border().width()); |