aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2009-06-23 21:52:38 +0000
committerokan2009-06-23 21:52:38 +0000
commitf211e0e6f9fb03e24ed65461fc1375f3eda6d6ba (patch)
treec3221890f6b15ca59401ade538652062208afea2 /calmwm.c
parentc54416ae163702858ce97808753af16c8c9b5921 (diff)
downloadcwm-f211e0e6f9fb03e24ed65461fc1375f3eda6d6ba.tar.gz
tidy up startup/init routines
ok oga@
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calmwm.c b/calmwm.c
index eb924e8..4644601 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.c,v 1.40 2009/06/20 00:22:39 okan Exp $
+ * $Id: calmwm.c,v 1.41 2009/06/23 21:52:38 okan Exp $
*/
#include "headers.h"
@@ -69,13 +69,15 @@ main(int argc, char **argv)
if (signal(SIGCHLD, sigchld_cb) == SIG_ERR)
err(1, "signal");
- group_init();
-
Starting = 1;
dpy_init(display_name);
+
+ screen_init();
+ group_init();
+ client_init();
+
bzero(&Conf, sizeof(Conf));
conf_setup(&Conf, conf_file);
- client_setup();
xu_getatoms();
x_setup();
Starting = 0;
@@ -99,8 +101,6 @@ dpy_init(const char *dpyname)
XSetErrorHandler(x_errorhandler);
HasRandr = XRRQueryExtension(X_Dpy, &Randr_ev, &i);
-
- TAILQ_INIT(&Screenq);
}
void