diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-16 18:14:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-16 18:14:05 +0000 |
| commit | 16a952c35dd15d52b304abaf9c366e9263b45430 (patch) | |
| tree | e069bc39630a56fb5af43ee81688fcbec4ee1b2c /src/config.hh | |
| parent | 893faed7b1222e71b0e2f618254913819b3365b9 (diff) | |
adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed
Diffstat (limited to 'src/config.hh')
| -rw-r--r-- | src/config.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/config.hh b/src/config.hh index f0205509..6cbbaacd 100644 --- a/src/config.hh +++ b/src/config.hh @@ -13,7 +13,10 @@ namespace ob { -struct Config { +class Config { + int _screen; + +public: std::vector<otk::ustring> desktop_names; otk::ustring theme; otk::ustring titlebar_layout; @@ -21,8 +24,10 @@ struct Config { long drag_threshold; long num_desktops; - Config(); + Config(int screen); ~Config(); + + void load(); }; } |
