summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-01-01 00:10:27 (GMT)
committermarkt <markt>2007-01-01 00:10:27 (GMT)
commite9dd7670f36e8b32ee8dd2b52e1c4f31f808b35c (patch)
tree5efaaf39401ef050e4b14ab78c43562c88e48ae2 /src
parente8a86fb91c5d51d748d2c782ee146b690756f2b7 (diff)
downloadfluxbox_lack-e9dd7670f36e8b32ee8dd2b52e1c4f31f808b35c.zip
fluxbox_lack-e9dd7670f36e8b32ee8dd2b52e1c4f31f808b35c.tar.bz2
don't run [startup] items in apps file on reconfigure when apps file has been modified
Diffstat (limited to 'src')
-rw-r--r--src/Remember.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 9035325..6f41528 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -577,7 +577,8 @@ void Remember::reconfigure() {
577 } else { 577 } else {
578 grouped_pats.push_back(pat); 578 grouped_pats.push_back(pat);
579 } 579 }
580 } else if (pos > 0 && strcasecmp(key.c_str(), "startup") == 0) { 580 } else if (pos > 0 && strcasecmp(key.c_str(), "startup") == 0 &&
581 Fluxbox::instance()->isStartup()) {
581 if (!handleStartupItem(line, pos)) { 582 if (!handleStartupItem(line, pos)) {
582 cerr<<"Error reading apps file at line "<<row<<"."<<endl; 583 cerr<<"Error reading apps file at line "<<row<<"."<<endl;
583 } 584 }