all repos — fluxbox @ 8c2cee577a744870fd497f73a21c2d4e1c45c907

custom fork of the fluxbox windowmanager

must initialize toolbar before the windows
Henrik Kinnunen fluxgen@fluxbox.org
commit

8c2cee577a744870fd497f73a21c2d4e1c45c907

parent

f6c292a406f183a12b2e327716aad5de4c0abcca

1 files changed, 6 insertions(+), 5 deletions(-)

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

@@ -629,6 +629,12 @@ return Fluxbox::instance()->isStartup() && m_restart;

} void BScreen::initWindows() { + +#ifdef USE_TOOLBAR + m_toolbar.reset(new Toolbar(*this, + *layerManager().getLayer(::Layer::NORMAL))); +#endif // USE_TOOLBAR + unsigned int nchild; Window r, p, *children; Display *disp = FbTk::App::instance()->display();

@@ -725,11 +731,6 @@ #ifdef SLIT

if (slit()) slit()->show(); #endif // SLIT - -#ifdef USE_TOOLBAR - m_toolbar.reset(new Toolbar(*this, - *layerManager().getLayer(::Layer::NORMAL))); -#endif // USE_TOOLBAR }