aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2012-12-12 09:19:09 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-12-12 09:19:09 (GMT)
commit95f8f33c90dfc367c6ad31a8dc7640512995d809 (patch)
tree6ff951a4dc0e4522c97f7c0080fa5d0b7773acb4 /src
parent4191cbf2d2a71a5aeae41d54a5638abfc4789122 (diff)
downloadfluxbox_pavel-95f8f33c90dfc367c6ad31a8dc7640512995d809.zip
fluxbox_pavel-95f8f33c90dfc367c6ad31a8dc7640512995d809.tar.bz2
Minor cleaning of 'class Fluxbox'
Diffstat (limited to 'src')
-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