aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-17 15:19:07 (GMT)
committersimonb <simonb>2006-04-17 15:19:07 (GMT)
commit3e6def97d18133baf82b596cb742a2f7ef4f9f00 (patch)
tree2422603cb39d3af4b318f89ac2093e1bbc67657a /src/Toolbar.cc
parent11cba508e6a59587c304728fc8447d0f0c49f2c2 (diff)
downloadfluxbox-3e6def97d18133baf82b596cb742a2f7ef4f9f00.zip
fluxbox-3e6def97d18133baf82b596cb742a2f7ef4f9f00.tar.bz2
fix transparency updates for the toolbar when autohide is on
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 484719e..6384430 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -782,8 +782,14 @@ void Toolbar::toggleHidden() {
782 m_hidden = ! m_hidden; 782 m_hidden = ! m_hidden;
783 if (isHidden()) 783 if (isHidden())
784 frame.window.move(frame.x_hidden, frame.y_hidden); 784 frame.window.move(frame.x_hidden, frame.y_hidden);
785 else 785 else {
786 frame.window.move(frame.x, frame.y); 786 frame.window.move(frame.x, frame.y);
787 ItemList::iterator item_it = m_item_list.begin();
788 ItemList::iterator item_it_end = m_item_list.end();
789 for (item_it = m_item_list.begin(); item_it != item_it_end; ++item_it) {
790 (*item_it)->parentMoved();
791 }
792 }
787 793
788} 794}
789 795