diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Container.cc | 1 | ||||
-rw-r--r-- | src/Toolbar.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Container.cc b/src/Container.cc index ff026e1..db460c2 100644 --- a/src/Container.cc +++ b/src/Container.cc | |||
@@ -503,6 +503,7 @@ void Container::for_each(std::mem_fun_t<void, FbTk::FbWindow> function) { | |||
503 | } | 503 | } |
504 | 504 | ||
505 | void Container::setAlpha(unsigned char alpha) { | 505 | void Container::setAlpha(unsigned char alpha) { |
506 | FbTk::FbWindow::setAlpha(alpha); | ||
506 | ItemList::iterator it = m_item_list.begin(); | 507 | ItemList::iterator it = m_item_list.begin(); |
507 | ItemList::iterator it_end = m_item_list.end(); | 508 | ItemList::iterator it_end = m_item_list.end(); |
508 | for (; it != it_end; ++it) | 509 | for (; it != it_end; ++it) |
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 0a9461a..484719e 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -1092,6 +1092,7 @@ void Toolbar::updateAlpha() { | |||
1092 | frame.window.setOpaque(*m_rc_alpha); | 1092 | frame.window.setOpaque(*m_rc_alpha); |
1093 | } else { | 1093 | } else { |
1094 | frame.window.setAlpha(*m_rc_alpha); | 1094 | frame.window.setAlpha(*m_rc_alpha); |
1095 | frame.window.updateBackground(false); | ||
1095 | frame.window.clear(); | 1096 | frame.window.clear(); |
1096 | 1097 | ||
1097 | ItemList::iterator item_it = m_item_list.begin(); | 1098 | ItemList::iterator item_it = m_item_list.begin(); |