aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index f28d89a..273bd2a 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -32,6 +32,7 @@
32#include "FbCommands.hh" 32#include "FbCommands.hh"
33#include "fluxbox.hh" 33#include "fluxbox.hh"
34#include "WindowCmd.hh" 34#include "WindowCmd.hh"
35#include "Layer.hh"
35 36
36#include "FbTk/I18n.hh" 37#include "FbTk/I18n.hh"
37#include "FbTk/StringUtil.hh" 38#include "FbTk/StringUtil.hh"
@@ -345,19 +346,19 @@ int Remember::parseApp(ifstream &file, Application &app, string *first_line) {
345 } else if (str_key == "Layer") { 346 } else if (str_key == "Layer") {
346 unsigned int l; 347 unsigned int l;
347 if (str_label == "DESKTOP") { 348 if (str_label == "DESKTOP") {
348 l = Fluxbox::instance()->getDesktopLayer(); 349 l = Layer::DESKTOP;
349 } else if (str_label == "BOTTOM") { 350 } else if (str_label == "BOTTOM") {
350 l = Fluxbox::instance()->getBottomLayer(); 351 l = Layer::BOTTOM;
351 } else if (str_label == "NORMAL") { 352 } else if (str_label == "NORMAL") {
352 l = Fluxbox::instance()->getNormalLayer(); 353 l = Layer::NORMAL;
353 } else if (str_label == "TOP") { 354 } else if (str_label == "TOP") {
354 l = Fluxbox::instance()->getTopLayer(); 355 l = Layer::TOP;
355 } else if (str_label == "DOCK") { 356 } else if (str_label == "DOCK") {
356 l = Fluxbox::instance()->getDockLayer(); 357 l = Layer::DOCK;
357 } else if (str_label == "ABOVEDOCK") { 358 } else if (str_label == "ABOVEDOCK") {
358 l = Fluxbox::instance()->getAboveDockLayer(); 359 l = Layer::ABOVE_DOCK;
359 } else if (str_label == "MENU") { 360 } else if (str_label == "MENU") {
360 l = Fluxbox::instance()->getMenuLayer(); 361 l = Layer::MENU;
361 } else { 362 } else {
362 FbTk_istringstream iss(str_label.c_str()); 363 FbTk_istringstream iss(str_label.c_str());
363 iss >> l; 364 iss >> l;