From 16a952c35dd15d52b304abaf9c366e9263b45430 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Feb 2003 18:14:05 +0000 Subject: 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 --- src/config.hh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/config.hh') 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 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(); }; } -- cgit v1.2.3