must initialize toolbar before the windows
This commit is contained in:
parent
f6c292a406
commit
8c2cee577a
1 changed files with 6 additions and 5 deletions
|
@ -629,6 +629,12 @@ bool BScreen::isRestart() {
|
|||
}
|
||||
|
||||
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();
|
||||
|
@ -726,11 +732,6 @@ void BScreen::initWindows() {
|
|||
slit()->show();
|
||||
#endif // SLIT
|
||||
|
||||
#ifdef USE_TOOLBAR
|
||||
m_toolbar.reset(new Toolbar(*this,
|
||||
*layerManager().getLayer(::Layer::NORMAL)));
|
||||
#endif // USE_TOOLBAR
|
||||
|
||||
}
|
||||
|
||||
unsigned int BScreen::currentWorkspaceID() const {
|
||||
|
|
Loading…
Reference in a new issue