issue 135 and xrandr management (more to come)

git-svn-id: http://tint2.googlecode.com/svn/trunk@202 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-09-27 16:57:19 +00:00
parent e015d5b19c
commit 145ce16757
7 changed files with 138 additions and 103 deletions

View 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);
}
}
}