all repos — fluxbox @ 9be4311798046a4dbf4b09134312b684b17c2f08

custom fork of the fluxbox windowmanager

minor tidy, thanks Slava Semushin
simonb simonb
commit

9be4311798046a4dbf4b09134312b684b17c2f08

parent

1ddd177d1ab25503d18b94dc458de409de08095d

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/Toolbar.ccsrc/Toolbar.cc

@@ -780,7 +780,6 @@ }

void Toolbar::toggleHidden() { - // toggle hidden m_hidden = ! m_hidden; if (isHidden())

@@ -789,9 +788,8 @@ else {

frame.window.move(frame.x, frame.y); ItemList::iterator item_it = m_item_list.begin(); ItemList::iterator item_it_end = m_item_list.end(); - for (item_it = m_item_list.begin(); item_it != item_it_end; ++item_it) { + for ( ; item_it != item_it_end; ++item_it) (*item_it)->parentMoved(); - } } }