aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fluxbox.cc5
-rw-r--r--src/fluxbox.hh1
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 7dd0c4c..4ef6a67 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -149,6 +149,8 @@ using namespace FbTk;
149 149
150namespace { 150namespace {
151 151
152const char RC_INIT_FILE[] = "init";
153
152Window last_bad_window = None; 154Window last_bad_window = None;
153 155
154// *** NOTE: if you want to debug here the X errors are 156// *** NOTE: if you want to debug here the X errors are
@@ -240,7 +242,6 @@ Fluxbox::Fluxbox(int argc, char **argv,
240 m_screen_rm(m_resourcemanager), 242 m_screen_rm(m_resourcemanager),
241 243
242 m_RC_PATH(rc_path), 244 m_RC_PATH(rc_path),
243 m_RC_INIT_FILE("init"),
244 m_rc_ignoreborder(m_resourcemanager, false, "session.ignoreBorder", "Session.IgnoreBorder"), 245 m_rc_ignoreborder(m_resourcemanager, false, "session.ignoreBorder", "Session.IgnoreBorder"),
245 m_rc_pseudotrans(m_resourcemanager, false, "session.forcePseudoTransparency", "Session.forcePseudoTransparency"), 246 m_rc_pseudotrans(m_resourcemanager, false, "session.forcePseudoTransparency", "Session.forcePseudoTransparency"),
246 m_rc_colors_per_channel(m_resourcemanager, 4, 247 m_rc_colors_per_channel(m_resourcemanager, 4,
@@ -1186,7 +1187,7 @@ void Fluxbox::save_rc() {
1186/// @return filename of resource file 1187/// @return filename of resource file
1187string Fluxbox::getRcFilename() { 1188string Fluxbox::getRcFilename() {
1188 if (m_rc_file.empty()) 1189 if (m_rc_file.empty())
1189 return getDefaultDataFilename(m_RC_INIT_FILE); 1190 return getDefaultDataFilename(RC_INIT_FILE);
1190 return m_rc_file; 1191 return m_rc_file;
1191} 1192}
1192 1193
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 35c1649..f83934a 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -230,7 +230,6 @@ private:
230 FbTk::ResourceManager m_resourcemanager, &m_screen_rm; 230 FbTk::ResourceManager m_resourcemanager, &m_screen_rm;
231 231
232 std::string m_RC_PATH; 232 std::string m_RC_PATH;
233 const char *m_RC_INIT_FILE;
234 233
235 //--- Resources 234 //--- Resources
236 235