diff options
| -rw-r--r-- | config.mk | 4 | ||||
| -rw-r--r-- | dwm.c | 2 |
2 files changed, 3 insertions, 3 deletions
| @@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include | |||
| 11 | X11LIB = /usr/X11R6/lib | 11 | X11LIB = /usr/X11R6/lib |
| 12 | 12 | ||
| 13 | # Xinerama, un-comment if you want it | 13 | # Xinerama, un-comment if you want it |
| 14 | XINERAMALIBS = -L${X11LIB} -lXinerama | 14 | #XINERAMALIBS = -L${X11LIB} -lXinerama |
| 15 | XINERAMAFLAGS = -DXINERAMA | 15 | #XINERAMAFLAGS = -DXINERAMA |
| 16 | 16 | ||
| 17 | # includes and libs | 17 | # includes and libs |
| 18 | INCS = -I. -I/usr/include -I${X11INC} | 18 | INCS = -I. -I/usr/include -I${X11INC} |
| @@ -599,7 +599,6 @@ die(const char *errstr, ...) { | |||
| 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; |
| @@ -616,6 +615,7 @@ drawbar(Monitor *m) { | |||
| 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); |
