aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 107f4d2..1b58231 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -489,7 +489,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
489 changeWorkspaceID(first_desktop); 489 changeWorkspaceID(first_desktop);
490 490
491#ifdef SLIT 491#ifdef SLIT
492 m_slit.reset(new Slit(*this, *layerManager().getLayer(Layer::DESKTOP), 492 m_slit.reset(new Slit(*this, *layerManager().getLayer(ResourceLayer::DESKTOP),
493 fluxbox->getSlitlistFilename().c_str())); 493 fluxbox->getSlitlistFilename().c_str()));
494#endif // SLIT 494#endif // SLIT
495 495
@@ -598,7 +598,7 @@ void BScreen::initWindows() {
598 598
599#ifdef USE_TOOLBAR 599#ifdef USE_TOOLBAR
600 m_toolbar.reset(new Toolbar(*this, 600 m_toolbar.reset(new Toolbar(*this,
601 *layerManager().getLayer(::Layer::NORMAL))); 601 *layerManager().getLayer(::ResourceLayer::NORMAL)));
602#endif // USE_TOOLBAR 602#endif // USE_TOOLBAR
603 603
604 unsigned int nchild; 604 unsigned int nchild;
@@ -858,7 +858,7 @@ void BScreen::cycleFocus(int options, const ClientPattern *pat, bool reverse) {
858FbMenu *BScreen::createMenu(const string &label) { 858FbMenu *BScreen::createMenu(const string &label) {
859 FbMenu *menu = new FbMenu(menuTheme(), 859 FbMenu *menu = new FbMenu(menuTheme(),
860 imageControl(), 860 imageControl(),
861 *layerManager().getLayer(Layer::MENU)); 861 *layerManager().getLayer(ResourceLayer::MENU));
862 if (!label.empty()) 862 if (!label.empty())
863 menu->setLabel(label); 863 menu->setLabel(label);
864 864
@@ -868,7 +868,7 @@ FbMenu *BScreen::createMenu(const string &label) {
868FbMenu *BScreen::createToggleMenu(const string &label) { 868FbMenu *BScreen::createToggleMenu(const string &label) {
869 FbMenu *menu = new ToggleMenu(menuTheme(), 869 FbMenu *menu = new ToggleMenu(menuTheme(),
870 imageControl(), 870 imageControl(),
871 *layerManager().getLayer(Layer::MENU)); 871 *layerManager().getLayer(ResourceLayer::MENU));
872 if (!label.empty()) 872 if (!label.empty())
873 menu->setLabel(label); 873 menu->setLabel(label);
874 874