Unified · Split
| @@ -1,3 +1,5 @@ | |||
| 1 | 20100425 | ||
| 2 | appl/wm/wm.b shorten processing of wmctl close if client hadn't started | ||
| 1 | 20100406 | 3 | 20100406 |
| 2 | fix handling of boundary case in libtk/utils.c | 4 | fix handling of boundary case in libtk/utils.c |
| 3 | 20100402 | 5 | 20100402 |
| @@ -154,6 +154,8 @@ init(ctxt: ref Draw->Context, argv: list of string) · 153 unmodified lines | |||
| 154 | # if client leaving | 154 | # if client leaving |
| 155 | if(rc == nil){ | 155 | if(rc == nil){ |
| 156 | c.remove(); | 156 | c.remove(); |
| 157 | if(c.stop == nil) | ||
| 158 | break; | ||
| 157 | if(c == ptrfocus) | 159 | if(c == ptrfocus) |
| 158 | ptrfocus = nil; | 160 | ptrfocus = nil; |
| 159 | if(c == kbdfocus) | 161 | if(c == kbdfocus) |
Binary file not shown.
| @@ -1 +1 @@ | |||
| 1 | #define VERSION "Fourth Edition (20100406)" | 1 | #define VERSION "Fourth Edition (20100425)" |
| @@ -608,7 +608,7 @@ tkchoicevarchanged(Tk *tk, char *var, char *value) · 607 unmodified lines | |||
| 608 | if(value[0] < '0' || value[0] > '9') | 608 | if(value[0] < '0' || value[0] > '9') |
| 609 | return; | 609 | return; |
| 610 | v = atoi(value); | 610 | v = atoi(value); |
| 611 | if(v < 0 || v > tkl->nvalues) | 611 | if(v < 0 || v >= tkl->nvalues) |
| 612 | return; /* what else can we do? */ | 612 | return; /* what else can we do? */ |
| 613 | free(tkl->text); | 613 | free(tkl->text); |
| 614 | tkl->text = strdup(tkl->values[v]); | 614 | tkl->text = strdup(tkl->values[v]); |