don't run [startup] items in apps file on reconfigure when apps file has been modified

This commit is contained in:
markt 2007-01-01 00:10:27 +00:00
parent e8a86fb91c
commit e9dd7670f3
2 changed files with 4 additions and 1 deletions

View file

@ -2,6 +2,8 @@
Changes for 1.0rc3:
*07/01/01:
* Happy New Year!
* Don't run [startup] items in apps file on reconfigure (Mark)
Remember.cc
* Fix data type of data passed to set _NET_FRAME_EXTENTS (Simon)
(sf.net #1621980)
Similar fix for gnome current workspace... remember that XA_CARDINAL

View file

@ -577,7 +577,8 @@ void Remember::reconfigure() {
} else {
grouped_pats.push_back(pat);
}
} else if (pos > 0 && strcasecmp(key.c_str(), "startup") == 0) {
} else if (pos > 0 && strcasecmp(key.c_str(), "startup") == 0 &&
Fluxbox::instance()->isStartup()) {
if (!handleStartupItem(line, pos)) {
cerr<<"Error reading apps file at line "<<row<<"."<<endl;
}