aboutsummaryrefslogtreecommitdiff
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
parentdd933c097c0e585949c7200a0937684158f0056d (diff)
downloadfluxbox-11cba508e6a59587c304728fc8447d0f0c49f2c2.zip
fluxbox-11cba508e6a59587c304728fc8447d0f0c49f2c2.tar.bz2
fix some toolbar transparency
-rw-r--r--ChangeLog2
-rw-r--r--src/Container.cc1
-rw-r--r--src/Toolbar.cc1
3 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6fa7ab5..4718efd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.16: 2Changes for 0.9.16:
3*06/04/17: 3*06/04/17:
4 * Fix toolbar transparency (frame and empty iconbar) (Simon)
5 Container.cc Toolbar.cc
4 * Fix display of label for dialog-type boxes (Simon) 6 * Fix display of label for dialog-type boxes (Simon)
5 (only when external tabs are enabled, but not for particular window) 7 (only when external tabs are enabled, but not for particular window)
6 FbWinFrame.cc 8 FbWinFrame.cc
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();