save the titlebarLayout in the default config
This commit is contained in:
parent
b79ced0198
commit
f290e1c04c
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,8 @@ Changelog for Openbox:
|
||||||
|
|
||||||
* fix positioning of the window menu (Ben Jansens)
|
* fix positioning of the window menu (Ben Jansens)
|
||||||
|
|
||||||
|
* save the titlebarLayout in the default config file. (Ben Jansens)
|
||||||
|
|
||||||
1.0.0:
|
1.0.0:
|
||||||
* maximizing windows takes the slit into account as
|
* maximizing windows takes the slit into account as
|
||||||
well as the toolbar when 'Full Maximization' is off (Ben Jansens)
|
well as the toolbar when 'Full Maximization' is off (Ben Jansens)
|
||||||
|
|
|
@ -982,6 +982,8 @@ void Openbox::save() {
|
||||||
config.setValue("session.menuFile", getMenuFilename());
|
config.setValue("session.menuFile", getMenuFilename());
|
||||||
config.setValue("session.colorsPerChannel",
|
config.setValue("session.colorsPerChannel",
|
||||||
resource.colors_per_channel);
|
resource.colors_per_channel);
|
||||||
|
config.setValue("session.styleFile", resource.style_file);
|
||||||
|
config.setValue("session.titlebarLayout", resource.titlebar_layout);
|
||||||
config.setValue("session.doubleClickInterval",
|
config.setValue("session.doubleClickInterval",
|
||||||
(long)resource.double_click_interval);
|
(long)resource.double_click_interval);
|
||||||
config.setValue("session.autoRaiseDelay",
|
config.setValue("session.autoRaiseDelay",
|
||||||
|
@ -989,7 +991,6 @@ void Openbox::save() {
|
||||||
(resource.auto_raise_delay.tv_usec / 1000)));
|
(resource.auto_raise_delay.tv_usec / 1000)));
|
||||||
config.setValue("session.cacheLife", (long)resource.cache_life / 60000);
|
config.setValue("session.cacheLife", (long)resource.cache_life / 60000);
|
||||||
config.setValue("session.cacheMax", (long)resource.cache_max);
|
config.setValue("session.cacheMax", (long)resource.cache_max);
|
||||||
config.setValue("session.styleFile", resource.style_file);
|
|
||||||
|
|
||||||
LinkedListIterator<BScreen> it(screenList);
|
LinkedListIterator<BScreen> it(screenList);
|
||||||
for (BScreen *s = it.current(); s != NULL; it++, s = it.current()) {
|
for (BScreen *s = it.current(); s != NULL; it++, s = it.current()) {
|
||||||
|
|
Loading…
Reference in a new issue