aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin.c')
-rw-r--r--src/gwin/gwin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index 0f5245b2..0e26149f 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -363,6 +363,12 @@ void gwinRedraw(GHandle gh) {
}
}
+ void gwinRedrawChildren(GHandle gh) {
+ GHandle tmp;
+ for (tmp = gh->child; tmp; tmp = tmp->sibling)
+ gwinRedraw(tmp);
+ }
+
GHandle gwinGetFirstChild(GHandle gh) {
return gh->child;
}