aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-03-03 23:27:16 (GMT)
committermarkt <markt>2007-03-03 23:27:16 (GMT)
commit9477af82a5835b7336fec8879967abb67f3bd848 (patch)
tree1a6d8df615791146b98434d254062a155a8a515f /src/fluxbox.cc
parentd03f39f83650d401b400a2fa3086104d0f4da7a2 (diff)
downloadfluxbox-9477af82a5835b7336fec8879967abb67f3bd848.zip
fluxbox-9477af82a5835b7336fec8879967abb67f3bd848.tar.bz2
removed session.numLayers resource, as it was useless and caused segfaults
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 89bd0d5..c71e2f5 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -211,7 +211,6 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
211 m_rc_pseudotrans(m_resourcemanager, false, "session.forcePseudoTransparency", "Session.forcePseudoTransparency"), 211 m_rc_pseudotrans(m_resourcemanager, false, "session.forcePseudoTransparency", "Session.forcePseudoTransparency"),
212 m_rc_colors_per_channel(m_resourcemanager, 4, 212 m_rc_colors_per_channel(m_resourcemanager, 4,
213 "session.colorsPerChannel", "Session.ColorsPerChannel"), 213 "session.colorsPerChannel", "Session.ColorsPerChannel"),
214 m_rc_numlayers(m_resourcemanager, 13, "session.numLayers", "Session.NumLayers"),
215 m_rc_double_click_interval(m_resourcemanager, 250, "session.doubleClickInterval", "Session.DoubleClickInterval"), 214 m_rc_double_click_interval(m_resourcemanager, 250, "session.doubleClickInterval", "Session.DoubleClickInterval"),
216 m_rc_tabs_padding(m_resourcemanager, 0, "session.tabPadding", "Session.TabPadding"), 215 m_rc_tabs_padding(m_resourcemanager, 0, "session.tabPadding", "Session.TabPadding"),
217 m_rc_stylefile(m_resourcemanager, DEFAULTSTYLE, "session.styleFile", "Session.StyleFile"), 216 m_rc_stylefile(m_resourcemanager, DEFAULTSTYLE, "session.styleFile", "Session.StyleFile"),
@@ -378,7 +377,7 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
378 sprintf(altscrname, "session.Screen%d", screens[s]); 377 sprintf(altscrname, "session.Screen%d", screens[s]);
379 BScreen *screen = new BScreen(m_screen_rm.lock(), 378 BScreen *screen = new BScreen(m_screen_rm.lock(),
380 scrname, altscrname, 379 scrname, altscrname,
381 screens[s], getNumberOfLayers()); 380 screens[s], ::Layer::NUM_LAYERS);
382 381
383 // already handled 382 // already handled
384 if (! screen->isScreenManaged()) { 383 if (! screen->isScreenManaged()) {