aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.hh
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/ClockTool.hh
parentb7e84104a695bb3628e482c4be93f6f516e46e7d (diff)
downloadfluxbox-d11aa42ace928efc3dd1eebc8988b6bbbc005b2b.zip
fluxbox-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/ClockTool.hh')
-rw-r--r--src/ClockTool.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClockTool.hh b/src/ClockTool.hh
index cbc676f..d2b9dca 100644
--- a/src/ClockTool.hh
+++ b/src/ClockTool.hh
@@ -69,7 +69,7 @@ public:
69private: 69private:
70 void updateTime(); 70 void updateTime();
71 void update(FbTk::Subject *subj); 71 void update(FbTk::Subject *subj);
72 void renderTheme(unsigned char alpha); 72 void renderTheme(int alpha);
73 void reRender(); 73 void reRender();
74 void updateSizing(); 74 void updateSizing();
75 75