main.c
changeset 350 b10852dbbffe
parent 344 93192711a36a
child 352 5a8bdc3b37cb
equal deleted inserted replaced
349:2bc2746a52c3 350:b10852dbbffe
   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 = getcolor(BGCOLOR);
   124 	dc.bg[0] = getcolor(NORMBGCOLOR);
   125 	dc.fg = getcolor(FGCOLOR);
   125 	dc.fg[0] = getcolor(NORMFGCOLOR);
   126 	dc.border = getcolor(BORDERCOLOR);
   126 	dc.bg[1] = getcolor(SELBGCOLOR);
       
   127 	dc.fg[1] = getcolor(SELFGCOLOR);
   127 	setfont(FONT);
   128 	setfont(FONT);
   128 
   129 
   129 	sx = sy = 0;
   130 	sx = sy = 0;
   130 	sw = DisplayWidth(dpy, screen);
   131 	sw = DisplayWidth(dpy, screen);
   131 	sh = DisplayHeight(dpy, screen);
   132 	sh = DisplayHeight(dpy, screen);