summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-30 02:08:33 +0000
committerDana Jansens <danakj@orodu.net>2002-04-30 02:08:33 +0000
commitf290e1c04c6487602452706ea075d9eccdbd17e3 (patch)
tree8878d26eadccd4d268daa2b3789b6ed80fbcfc98
parentb79ced0198a2314e2eacfdc7b70ab62a5c186a5b (diff)
save the titlebarLayout in the default config
-rw-r--r--CHANGELOG2
-rw-r--r--src/openbox.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 69e42451..2422700f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -14,6 +14,8 @@ Changelog for Openbox:
* fix positioning of the window menu (Ben Jansens)
+ * save the titlebarLayout in the default config file. (Ben Jansens)
+
1.0.0:
* maximizing windows takes the slit into account as
well as the toolbar when 'Full Maximization' is off (Ben Jansens)
diff --git a/src/openbox.cc b/src/openbox.cc
index cfdb6e9b..77c5baca 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -982,6 +982,8 @@ void Openbox::save() {
config.setValue("session.menuFile", getMenuFilename());
config.setValue("session.colorsPerChannel",
resource.colors_per_channel);
+ config.setValue("session.styleFile", resource.style_file);
+ config.setValue("session.titlebarLayout", resource.titlebar_layout);
config.setValue("session.doubleClickInterval",
(long)resource.double_click_interval);
config.setValue("session.autoRaiseDelay",
@@ -989,7 +991,6 @@ void Openbox::save() {
(resource.auto_raise_delay.tv_usec / 1000)));
config.setValue("session.cacheLife", (long)resource.cache_life / 60000);
config.setValue("session.cacheMax", (long)resource.cache_max);
- config.setValue("session.styleFile", resource.style_file);
LinkedListIterator<BScreen> it(screenList);
for (BScreen *s = it.current(); s != NULL; it++, s = it.current()) {