all repos — fluxbox @ 786d8bacc0709bccdfa91eeefb9ce8a4beb546b6

custom fork of the fluxbox windowmanager

Code cleanup

File name expansion is done internally by the Slit::loadClientList, so there
is no need to duplicate the code.
Arkadiusz Bokowy arkadiusz.bokowy@gmail.com
commit

786d8bacc0709bccdfa91eeefb9ce8a4beb546b6

parent

f0a178f515a4d207288875fcff55dbd073b6319b

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -1183,9 +1183,7 @@ m_rc_menufile.setDefaultValue();

FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans); - if (!m_rc_slitlistfile->empty()) { - *m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile); - } else { + if (m_rc_slitlistfile->empty()) { string filename = getDefaultDataFilename("slitlist"); m_rc_slitlistfile.setFromString(filename.c_str()); }