aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-30 15:59:30 (GMT)
committermarkt <markt>2006-06-30 15:59:30 (GMT)
commita14c322dcbbc7330b6933230168d34411f7ac63b (patch)
treed2b6a593621e4240ad68a61294a454f9f0d66940 /src/fluxbox.cc
parent91ab82513b7638825ca7231fa35f52f66f5aaed3 (diff)
downloadfluxbox-a14c322dcbbc7330b6933230168d34411f7ac63b.zip
fluxbox-a14c322dcbbc7330b6933230168d34411f7ac63b.tar.bz2
more dead functions
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index d886eeb..1cdc647 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1621,26 +1621,6 @@ void Fluxbox::load_rc(BScreen &screen) {
1621 } 1621 }
1622} 1622}
1623 1623
1624void Fluxbox::loadRootCommand(BScreen &screen) {
1625
1626 string dbfile(getRcFilename());
1627
1628 XrmDatabaseHelper database(dbfile.c_str());
1629 if (!*database)
1630 database = XrmGetFileDatabase(DEFAULT_INITFILE);
1631
1632 XrmValue value;
1633 char *value_type, name_lookup[1024], class_lookup[1024];
1634 sprintf(name_lookup, "session.screen%d.rootCommand", screen.screenNumber());
1635 sprintf(class_lookup, "Session.Screen%d.RootCommand", screen.screenNumber());
1636 if (XrmGetResource(*database, name_lookup, class_lookup, &value_type,
1637 &value)) {
1638 screen.saveRootCommand(value.addr==0 ? "": value.addr);
1639 } else
1640 screen.saveRootCommand("");
1641
1642}
1643
1644void Fluxbox::reload_rc() { 1624void Fluxbox::reload_rc() {
1645 load_rc(); 1625 load_rc();
1646 reconfigure(); 1626 reconfigure();