all repos — fluxbox @ 442118f77140d18f1cf690a7bb489ead007d632d

custom fork of the fluxbox windowmanager

setting normal layer for toolbar
fluxgen fluxgen
commit

442118f77140d18f1cf690a7bb489ead007d632d

parent

19fcd63937ef2129f361ffe16d7e6fa74e4f4512

1 files changed, 4 insertions(+), 2 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.14 2003/05/24 13:13:22 rathnor Exp $ +// $Id: ToolbarHandler.cc,v 1.15 2003/06/23 13:34:54 fluxgen Exp $ /** * The ToolbarHandler class acts as a rough interface to the toolbar.

@@ -118,7 +118,9 @@ return;

} else if (!m_toolbar.get()) { m_toolbarmenu.removeAll(); m_toolbar.reset(new Toolbar(m_screen, - *m_screen.layerManager().getLayer(m_screen.getToolbarLayerNum()), m_toolbarmenu)); + *m_screen.layerManager().getLayer(Fluxbox::instance()->getNormalLayer()), m_toolbarmenu)); + Fluxbox::instance()->load_rc(m_screen); + m_toolbar->reconfigure(); m_toolbarmenu.insert("Mode...", &m_modemenu); m_toolbarmenu.update();