equal
deleted
inserted
replaced
597 exit(EXIT_FAILURE); |
597 exit(EXIT_FAILURE); |
598 } |
598 } |
599 |
599 |
600 void |
600 void |
601 drawbar(Monitor *m) { |
601 drawbar(Monitor *m) { |
602 char buf[2]; |
|
603 int x; |
602 int x; |
604 unsigned int i, occ = 0, urg = 0; |
603 unsigned int i, occ = 0, urg = 0; |
605 unsigned long *col; |
604 unsigned long *col; |
606 Client *c; |
605 Client *c; |
607 |
606 |
614 } |
613 } |
615 |
614 |
616 dc.x = 0; |
615 dc.x = 0; |
617 #ifdef XINERAMA |
616 #ifdef XINERAMA |
618 { |
617 { |
|
618 char buf[2]; |
619 buf[0] = m->screen_number + '0'; |
619 buf[0] = m->screen_number + '0'; |
620 buf[1] = '\0'; |
620 buf[1] = '\0'; |
621 dc.w = TEXTW(buf); |
621 dc.w = TEXTW(buf); |
622 drawtext(buf, selmon == m ? dc.sel : dc.norm, True); |
622 drawtext(buf, selmon == m ? dc.sel : dc.norm, True); |
623 dc.x += dc.w; |
623 dc.x += dc.w; |