all repos — fluxbox @ a9c82d41d86ea632bb9acdb8591664da2cb87f6d

custom fork of the fluxbox windowmanager

make toolbar work somewhat - it only displays groups, not all clients.
Will address this in 0.9.2 I'd say (Simon)
rathnor rathnor
commit

a9c82d41d86ea632bb9acdb8591664da2cb87f6d

parent

9932f2e49a68248ae2b908b9dbecab03f9ebd286

1 files changed, 10 insertions(+), 4 deletions(-)

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

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolbarHandler.cc,v 1.5 2003/04/14 15:01:55 fluxgen Exp $ +// $Id: ToolbarHandler.cc,v 1.6 2003/04/15 13:38:57 rathnor Exp $ /** * The ToolbarHandler class acts as a rough interface to the toolbar.

@@ -152,7 +152,13 @@ Workspace::Windows &wins = (*workspace_it)->getWindowList();

Workspace::Windows::iterator wit = wins.begin(); Workspace::Windows::iterator wit_end = wins.end(); for (; wit != wit_end; ++wit) { - // m_toolbar->addIcon(*(*wit)); + m_toolbar->addIcon(*wit); +/* + FluxboxWindow::ClientList::iterator cit = (*wit)->clientList().begin(); + FluxboxWindow::ClientList::iterator cit_end = (*wit)->clientList().end(); + for (; cit != cit_end; ++cit) + m_toolbar->addIcon(*(*cit)); +*/ } } }

@@ -164,7 +170,7 @@ BScreen::Icons &iconlist = m_screen.getIconList();

BScreen::Icons::iterator iconit = iconlist.begin(); BScreen::Icons::iterator iconit_end = iconlist.end(); for(; iconit != iconit_end; ++iconit) { - // m_toolbar->addIcon(*iconit); + m_toolbar->addIcon(*iconit); } } break;

@@ -174,7 +180,7 @@ Workspace::Windows &wins = m_screen.getCurrentWorkspace()->getWindowList();

Workspace::Windows::iterator wit = wins.begin(); Workspace::Windows::iterator wit_end = wins.end(); for (; wit != wit_end; ++wit) { - // m_toolbar->addIcon(*wit); + m_toolbar->addIcon(*wit); } } // fall through and add icons for this workspace