diff options
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -350,7 +350,7 @@ main(int argc, char *argv[]) { | |||
| 350 | char *selbg = SELBGCOLOR; | 350 | char *selbg = SELBGCOLOR; |
| 351 | char *selfg = SELFGCOLOR; | 351 | char *selfg = SELFGCOLOR; |
| 352 | fd_set rd; | 352 | fd_set rd; |
| 353 | int i, j; | 353 | int i, j, my; |
| 354 | struct timeval timeout; | 354 | struct timeval timeout; |
| 355 | Item *itm; | 355 | Item *itm; |
| 356 | XEvent ev; | 356 | XEvent ev; |
| @@ -431,6 +431,7 @@ main(int argc, char *argv[]) { | |||
| 431 | wa.override_redirect = 1; | 431 | wa.override_redirect = 1; |
| 432 | wa.background_pixmap = ParentRelative; | 432 | wa.background_pixmap = ParentRelative; |
| 433 | wa.event_mask = ExposureMask | ButtonPressMask | KeyPressMask; | 433 | wa.event_mask = ExposureMask | ButtonPressMask | KeyPressMask; |
| 434 | my = 0; | ||
| 434 | mw = DisplayWidth(dpy, screen); | 435 | mw = DisplayWidth(dpy, screen); |
| 435 | mh = dc.font.height + 2; | 436 | mh = dc.font.height + 2; |
| 436 | if(bottom) | 437 | if(bottom) |
