about summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/calmwm.c b/calmwm.c
index b9d29d0..4ece6e2 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -29,10 +29,10 @@ Cursor				 Cursor_select;
 Cursor				 Cursor_default;
 Cursor				 Cursor_question;
 
-struct screen_ctx_q		 Screenq;
+struct screen_ctx_q		 Screenq = TAILQ_HEAD_INITIALIZER(Screenq);
 struct screen_ctx		*Curscreen;
 
-struct client_ctx_q		 Clientq;
+struct client_ctx_q		 Clientq = TAILQ_HEAD_INITIALIZER(Clientq);
 
 int				 HasXinerama, HasRandr, Randr_ev;
 int				 Starting;
@@ -73,9 +73,7 @@ main(int argc, char **argv)
 	Starting = 1;
 	dpy_init(display_name);
 
-	screen_init();
 	group_init();
-	client_init();
 
 	bzero(&Conf, sizeof(Conf));
 	conf_setup(&Conf, conf_file);