diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 3 insertions, 2 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 | ||
150 | namespace { | 150 | namespace { |
151 | 151 | ||
152 | const char RC_INIT_FILE[] = "init"; | ||
153 | |||
152 | Window last_bad_window = None; | 154 | Window 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 |
1187 | string Fluxbox::getRcFilename() { | 1188 | string 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 | ||