aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-17 14:32:20 (GMT)
committersimonb <simonb>2006-04-17 14:32:20 (GMT)
commit11cba508e6a59587c304728fc8447d0f0c49f2c2 (patch)
treeed4340760e1051089cce1955cc07fa1f72378dae /src
parentdd933c097c0e585949c7200a0937684158f0056d (diff)
downloadfluxbox_paul-11cba508e6a59587c304728fc8447d0f0c49f2c2.zip
fluxbox_paul-11cba508e6a59587c304728fc8447d0f0c49f2c2.tar.bz2
fix some toolbar transparency
Diffstat (limited to 'src')
-rw-r--r--src/Container.cc1
-rw-r--r--src/Toolbar.cc1
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
505void Container::setAlpha(unsigned char alpha) { 505void 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();