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/FbTk/Container.hh | |
parent | b7e84104a695bb3628e482c4be93f6f516e46e7d (diff) | |
download | fluxbox-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/FbTk/Container.hh')
-rw-r--r-- | src/FbTk/Container.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Container.hh b/src/FbTk/Container.hh index bd5e3aa..f3d9bac 100644 --- a/src/FbTk/Container.hh +++ b/src/FbTk/Container.hh | |||
@@ -91,7 +91,7 @@ public: | |||
91 | bool updateLock() const { return m_update_lock; } | 91 | bool updateLock() const { return m_update_lock; } |
92 | 92 | ||
93 | void for_each(std::mem_fun_t<void, FbWindow> function); | 93 | void for_each(std::mem_fun_t<void, FbWindow> function); |
94 | void setAlpha(unsigned char alpha); // set alpha on all windows | 94 | void setAlpha(int alpha); // set alpha on all windows |
95 | 95 | ||
96 | ItemList::iterator begin() { return m_item_list.begin(); } | 96 | ItemList::iterator begin() { return m_item_list.begin(); } |
97 | ItemList::iterator end() { return m_item_list.end(); } | 97 | ItemList::iterator end() { return m_item_list.end(); } |