From 570cf17f4e4eeff9b043c04e8ef5df4115c7b42d Mon Sep 17 00:00:00 2001 From: thilor77 Date: Sun, 19 Sep 2010 16:54:31 +0000 Subject: [PATCH] panel_items : fixed SINGLE_DESKTOP mode git-svn-id: http://tint2.googlecode.com/svn/trunk@556 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- src/util/area.c | 1 + 1 file changed, 1 insertion(+) 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) {