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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user