all repos — fluxbox @ ba604ac821b7c1c89d10b0e8c9f85fde948856ef

custom fork of the fluxbox windowmanager

little hack to allow arbitrary commands in the toolbar
Mark Tiefenbruck mark@fluxbox.org
commit

ba604ac821b7c1c89d10b0e8c9f85fde948856ef

parent

146a38c7761b8d1944ee2b8f28eec07ce9742be8

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

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

@@ -120,8 +120,7 @@ item = new ButtonTool(win, ToolbarItem::SQUARE,

dynamic_cast<ButtonTheme &>(*m_button_theme), screen().imageControl()); - } else if (name == "nextwindow" || - name == "prevwindow") { + } else { FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(name)); if (*cmd == 0) // we need a command