aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-02-22 21:07:39 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-02-22 21:07:39 (GMT)
commitd11aa42ace928efc3dd1eebc8988b6bbbc005b2b (patch)
tree0574ed4eaa5092386d3cf5440c636ea586baaebe /src/IconbarTool.cc
parentb7e84104a695bb3628e482c4be93f6f516e46e7d (diff)
downloadfluxbox_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/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 503e04b..62eae0d 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -475,7 +475,7 @@ void IconbarTool::updateSizing() {
475 475
476} 476}
477 477
478void IconbarTool::renderTheme(unsigned char alpha) { 478void IconbarTool::renderTheme(int alpha) {
479 479
480 m_alpha = alpha; 480 m_alpha = alpha;
481 renderTheme(); 481 renderTheme();