diff options
Diffstat (limited to 'generic/tkZinc.c')
-rw-r--r-- | generic/tkZinc.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/generic/tkZinc.c b/generic/tkZinc.c index 6d20d36..243f0dc 100644 --- a/generic/tkZinc.c +++ b/generic/tkZinc.c @@ -3520,12 +3520,16 @@ WidgetObjCmd(ClientData client_data, /* Information about the widget. */ else { result = ITEM.ConfigureItem(item, field, argc, args, False); } - if (result == ZN_ERROR) { - goto error; - } if (argc < 2) { goto done; } + /* + * Report an error only if itemconfigure was invoke + * on a specific item. + */ + if ((result == ZN_ERROR) && (search_var->type == 1)) { + goto error; + } } } break; @@ -4488,6 +4492,7 @@ Focus(WidgetInfo *wi, if (wi->highlight_width > 0) { ZnNeedRedisplay(wi); } +#ifdef GLX_DAMAGE if (wi->render) { ZnBBox bbox; @@ -4497,6 +4502,7 @@ Focus(WidgetInfo *wi, ITEM_P.Damage(wi, &bbox); ZnNeedRedisplay(wi); } +#endif } |