diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-12 06:00:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-12 06:00:17 +0000 |
| commit | 4be58bf13719fd22cb08a7f016eaf757640ccd05 (patch) | |
| tree | 8b87853b47d7084f2751f9f3c5aca02103512807 /openbox/openbox.c | |
| parent | 5d658c98e2ce6aa00f0236b3dedfc6ff0c2041ca (diff) | |
new popups with subclasses, added an ObIconPopup for popups with icons, and ObPagerPopup, for a popup with a pager on it.
better logic also for the desktop layout code figuring out how many rows and columns there are.
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index d8eae91a..feeb19d9 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -189,14 +189,6 @@ int main(int argc, char **argv) if (screen_annex()) { /* it will be ours! */ do { - event_startup(reconfigure); - grab_startup(reconfigure); - /* focus_backup is used for stacking, so this needs to come before - anything that calls stacking_add */ - focus_startup(reconfigure); - window_startup(reconfigure); - sn_startup(reconfigure); - { ObParseInst *i; xmlDocPtr doc; @@ -218,12 +210,21 @@ int main(int argc, char **argv) /* load the theme specified in the rc file */ { RrTheme *theme; - if ((theme = RrThemeNew(ob_rr_inst, config_theme))) + if ((theme = RrThemeNew(ob_rr_inst, config_theme))) { + RrThemeFree(ob_rr_theme); ob_rr_theme = theme; + } if (ob_rr_theme == NULL) ob_exit_with_error("Unable to load a theme."); } + event_startup(reconfigure); + grab_startup(reconfigure); + /* focus_backup is used for stacking, so this needs to come before + anything that calls stacking_add */ + focus_startup(reconfigure); + window_startup(reconfigure); + sn_startup(reconfigure); moveresize_startup(reconfigure); screen_startup(reconfigure); group_startup(reconfigure); |
