]> Dogcows Code - chaz/tint2/blobdiff - src/util/area.c
*fix* unset sigmask only for child fork
[chaz/tint2] / src / util / area.c
index 8c40aa667a339ab8f7556566e9608b53f24fe5cb..827e118a40e7fe41f9cd846e7816bb18487ba560 100644 (file)
@@ -72,13 +72,16 @@ void size (Area *a)
 
        if (a->resize) {
                a->resize = 0;
-               for (l = a->list; l ; l = l->next)
-                       size(l->data);
+               // force the resize of childs
+               for (l = a->list; l ; l = l->next) {
+                       Area *area = (Area*)l->data;
+                       area->resize = 1;
+                       size(area);
+               }
 
                // resize can generate a redraw
-               if (a->_resize) {
+               if (a->_resize)
                        a->_resize(a);
-               }
        }
 }
 
This page took 0.023079 seconds and 4 git commands to generate.