X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.cc;fp=src%2Fframe.cc;h=4e77d10636271fdad42f11fab7bc045f19ba83e7;hb=feaf3ac4e5847d27e3747b09e7443915afa97b0b;hp=94384b3d34817d621c1379c4e48471b472463efd;hpb=1dac42d9ed074bcd44f9d1016b0971ae473cc2eb;p=chaz%2Fopenbox diff --git a/src/frame.cc b/src/frame.cc index 94384b3d..4e77d106 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -9,6 +9,7 @@ extern "C" { } #include "frame.hh" +#include "config.hh" #include "openbox.hh" #include "otk/display.hh" #include "otk/surface.hh" @@ -99,7 +100,8 @@ Frame::Frame(Client *client) applyStyle(*otk::RenderStyle::style(_client->screen())); - _layout = openbox->screen(_client->screen())->config().titlebar_layout; + _layout = "ITMC"; + python_get_string("titlebar_layout", &_layout); // register all of the windows with the event dispatcher Window *w = allWindows();