aboutsummaryrefslogtreecommitdiff
path: root/generic/Window.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Window.c')
-rw-r--r--generic/Window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/Window.c b/generic/Window.c
index eb5a68c..9dac5c7 100644
--- a/generic/Window.c
+++ b/generic/Window.c
@@ -263,6 +263,7 @@ Configure(ZnItem item,
old_connected = item->connected_item;
old_win = wind->win;
if (ZnConfigureAttributes(wi, item, item, wind_attrs, argc, argv, flags) == TCL_ERROR) {
+ item->connected_item = old_connected;
return TCL_ERROR;
}