summaryrefslogtreecommitdiff
path: root/src/frame.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-14 03:04:23 +0000
committerDana Jansens <danakj@orodu.net>2003-02-14 03:04:23 +0000
commit059bc4dc24b68d637c3608c05344c53c64cc2c4b (patch)
tree6772afd49bd8c7ea1cb07d8af631f25a618f5e11 /src/frame.cc
parent1431cd19584e750309561e0054fd013d566965cb (diff)
add a Config class with config data from the scripts.
set up the functions for loading a style from a file. use the Config class throughout instead of reading out of the python namespace all the time.
Diffstat (limited to 'src/frame.cc')
-rw-r--r--src/frame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.cc b/src/frame.cc
index c9a83452..edcfdfcd 100644
--- a/src/frame.cc
+++ b/src/frame.cc
@@ -99,7 +99,7 @@ Frame::Frame(Client *client)
applyStyle(*otk::RenderStyle::style(_client->screen()));
- _layout = "NDITMC";
+ _layout = openbox->screen(_client->screen())->config().titlebar_layout;
// register all of the windows with the event dispatcher
Window *w = allWindows();