]> Dogcows Code - chaz/openbox/commitdiff
save the titlebarLayout in the default config
authorDana Jansens <danakj@orodu.net>
Tue, 30 Apr 2002 02:08:33 +0000 (02:08 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 30 Apr 2002 02:08:33 +0000 (02:08 +0000)
CHANGELOG
src/openbox.cc

index 69e42451f1e674bb159f0415e3523ef04347ec24..2422700f82feaf5b3efd78a1e1412bcbb774b14d 100644 (file)
--- 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)
index cfdb6e9bc3db9fbd9aae5bfb498af8ed4198d573..77c5baca4b86a9c7c3df949583f72806fb943ada 100644 (file)
@@ -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()) {
This page took 0.029474 seconds and 4 git commands to generate.