all repos — fluxbox @ a14c322dcbbc7330b6933230168d34411f7ac63b

custom fork of the fluxbox windowmanager

more dead functions
markt markt
commit

a14c322dcbbc7330b6933230168d34411f7ac63b

parent

91ab82513b7638825ca7231fa35f52f66f5aaed3

2 files changed, 0 insertions(+), 22 deletions(-)

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

@@ -1621,26 +1621,6 @@ cerr<<_FB_CONSOLETEXT(Fluxbox, CantLoadRCFile, "Failed to load database", "")<<": "<<DEFAULT_INITFILE<<endl;

} } -void Fluxbox::loadRootCommand(BScreen &screen) { - - string dbfile(getRcFilename()); - - XrmDatabaseHelper database(dbfile.c_str()); - if (!*database) - database = XrmGetFileDatabase(DEFAULT_INITFILE); - - XrmValue value; - char *value_type, name_lookup[1024], class_lookup[1024]; - sprintf(name_lookup, "session.screen%d.rootCommand", screen.screenNumber()); - sprintf(class_lookup, "Session.Screen%d.RootCommand", screen.screenNumber()); - if (XrmGetResource(*database, name_lookup, class_lookup, &value_type, - &value)) { - screen.saveRootCommand(value.addr==0 ? "": value.addr); - } else - screen.saveRootCommand(""); - -} - void Fluxbox::reload_rc() { load_rc(); reconfigure();
M src/fluxbox.hhsrc/fluxbox.hh

@@ -151,8 +151,6 @@ void watchKeyRelease(BScreen &screen, unsigned int mods);

void shutdown(); void load_rc(BScreen &scr); - void loadRootCommand(BScreen &scr); - void loadTitlebar(); void saveStyleFilename(const char *val) { m_rc_stylefile = (val == 0 ? "" : val); } void saveStyleOverlayFilename(const char *val) { m_rc_styleoverlayfile = (val == 0 ? "" : val); } void saveMenuFilename(const char *);