main.c
changeset 352 5a8bdc3b37cb
parent 350 b10852dbbffe
child 353 8a06efe5b563
equal deleted inserted replaced
351:d822b5fbe11e 352:5a8bdc3b37cb
   119 	for(ntags = 0; tags[ntags]; ntags++);
   119 	for(ntags = 0; tags[ntags]; ntags++);
   120 	seltag = emallocz(sizeof(Bool) * ntags);
   120 	seltag = emallocz(sizeof(Bool) * ntags);
   121 	seltag[0] = True;
   121 	seltag[0] = True;
   122 
   122 
   123 	/* style */
   123 	/* style */
   124 	dc.bg[0] = getcolor(NORMBGCOLOR);
   124 	dc.bg = getcolor(BGCOLOR);
   125 	dc.fg[0] = getcolor(NORMFGCOLOR);
   125 	dc.fg = getcolor(FGCOLOR);
   126 	dc.bg[1] = getcolor(SELBGCOLOR);
   126 	dc.border = getcolor(BORDERCOLOR);
   127 	dc.fg[1] = getcolor(SELFGCOLOR);
       
   128 	setfont(FONT);
   127 	setfont(FONT);
   129 
   128 
   130 	sx = sy = 0;
   129 	sx = sy = 0;
   131 	sw = DisplayWidth(dpy, screen);
   130 	sw = DisplayWidth(dpy, screen);
   132 	sh = DisplayHeight(dpy, screen);
   131 	sh = DisplayHeight(dpy, screen);