aboutsummaryrefslogtreecommitdiff
path: root/Display.c
diff options
context:
space:
mode:
Diffstat (limited to 'Display.c')
-rw-r--r--Display.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Display.c b/Display.c
index 7b0aea1..e80c939 100644
--- a/Display.c
+++ b/Display.c
@@ -177,6 +177,9 @@ static Boolean
SetValues(Widget old, Widget req, Widget new, ArgList args, Cardinal *n)
{
XExposeEvent xeev;
+ DisplayWidget dw = (DisplayWidget)new;
+ Widget child;
+ int i;
//Trace(new);
@@ -188,6 +191,12 @@ SetValues(Widget old, Widget req, Widget new, ArgList args, Cardinal *n)
xeev.width = new->core.width;
xeev.height = new->core.height;
+ for (i = 0; i < dw->composite.num_children; i++) {
+ child = dw->composite.children[i];
+ if (XtIsManaged(child))
+ XtSetValues(child, args, *n);
+ }
+
XtClass(new)->core_class.expose(new, (XEvent *)&xeev, NULL);
return False;