all repos — fluxbox @ 51377a3c360b5a1d85bee40438df631c518e622f

custom fork of the fluxbox windowmanager

removed session.screen<N>.imageSearchPath, as it was:
1) undocumented
2) improperly implemented
3) responsible for broken pixmap loading in styles
Mark Tiefenbruck mark@fluxbox.org
commit

51377a3c360b5a1d85bee40438df631c518e622f

parent

0ca0aa1ac209208011db56f6b77b292c71f26add

1 files changed, 0 insertions(+), 11 deletions(-)

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

@@ -1495,17 +1495,6 @@ }

} - FbTk::Image::removeAllSearchPaths(); - sprintf(name_lookup, "session.screen%d.imageSearchPath", screen_number); - sprintf(class_lookup, "Session.Screen%d.imageSearchPath", screen_number); - if (XrmGetResource(*database, name_lookup, class_lookup, &value_type, - &value) && value.addr) { - vector<string> paths; - StringUtil::stringtok(paths, value.addr, ", "); - for (size_t i = 0; i < paths.size(); ++i) - FbTk::Image::addSearchPath(paths[i]); - } - if (!dbfile.empty()) { if (!m_screen_rm.load(dbfile.c_str())) { cerr<<_FB_CONSOLETEXT(Fluxbox, CantLoadRCFile, "Failed to load database", "Failed trying to read rc file")<<":"<<dbfile<<endl;