draw.c
changeset 674 5d79c351e30a
parent 647 fd2ea58b0b94
child 686 4fd68b1485eb
equal deleted inserted replaced
673:d47d6e28441b 674:5d79c351e30a
   118 		else
   118 		else
   119 			drawtext(tags[i], dc.norm, sel && sel->tags[i], isoccupied(i));
   119 			drawtext(tags[i], dc.norm, sel && sel->tags[i], isoccupied(i));
   120 		dc.x += dc.w;
   120 		dc.x += dc.w;
   121 	}
   121 	}
   122 	dc.w = bmw;
   122 	dc.w = bmw;
   123 	drawtext(arrange == dofloat ?  FLOATSYMBOL : TILESYMBOL, dc.status, False, False);
   123 	drawtext(mtext, dc.status, False, False);
   124 	x = dc.x + dc.w;
   124 	x = dc.x + dc.w;
   125 	dc.w = textw(stext);
   125 	dc.w = textw(stext);
   126 	dc.x = bw - dc.w;
   126 	dc.x = bw - dc.w;
   127 	if(dc.x < x) {
   127 	if(dc.x < x) {
   128 		dc.x = x;
   128 		dc.x = x;