From: Thierry Lorthiois Date: Sun, 19 Sep 2010 16:54:31 +0000 (+0000) Subject: panel_items : fixed SINGLE_DESKTOP mode X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftint2;a=commitdiff_plain;h=d4e1cb0c2b90dcae466a0733adecd32c25a84a1c panel_items : fixed SINGLE_DESKTOP mode --- diff --git a/src/util/area.c b/src/util/area.c index d68f4d7..62417fe 100644 --- a/src/util/area.c +++ b/src/util/area.c @@ -133,6 +133,7 @@ void size_by_layout (Area *a, int pos, int level) int i=0; for (l = a->list; l ; l = l->next) { Area *child = ((Area*)l->data); + if (!child->on_screen) continue; i++; if (panel_horizontal) {