summaryrefslogtreecommitdiffstats
path: root/Modules/flmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/flmodule.c')
-rw-r--r--Modules/flmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c
index 2251bbf..a651fda 100644
--- a/Modules/flmodule.c
+++ b/Modules/flmodule.c
@@ -1636,6 +1636,8 @@ form_getattr(f, name)
formobject *f;
char *name;
{
+ if (strcmp(name, "window") == 0)
+ return newintobject(f->ob_form->window);
/* XXX check for data attr's: x, y etc. */
return findmethod(form_methods, (object *)f, name);
}