summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 578b0c7..6af65a9 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -629,6 +629,12 @@ bool BScreen::isRestart() {
629} 629}
630 630
631void BScreen::initWindows() { 631void BScreen::initWindows() {
632
633#ifdef USE_TOOLBAR
634 m_toolbar.reset(new Toolbar(*this,
635 *layerManager().getLayer(::Layer::NORMAL)));
636#endif // USE_TOOLBAR
637
632 unsigned int nchild; 638 unsigned int nchild;
633 Window r, p, *children; 639 Window r, p, *children;
634 Display *disp = FbTk::App::instance()->display(); 640 Display *disp = FbTk::App::instance()->display();
@@ -726,11 +732,6 @@ void BScreen::initWindows() {
726 slit()->show(); 732 slit()->show();
727#endif // SLIT 733#endif // SLIT
728 734
729#ifdef USE_TOOLBAR
730 m_toolbar.reset(new Toolbar(*this,
731 *layerManager().getLayer(::Layer::NORMAL)));
732#endif // USE_TOOLBAR
733
734} 735}
735 736
736unsigned int BScreen::currentWorkspaceID() const { 737unsigned int BScreen::currentWorkspaceID() const {