]> Dogcows Code - chaz/tint2/commitdiff
panel_items : fixed SINGLE_DESKTOP mode
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Sun, 19 Sep 2010 16:54:31 +0000 (16:54 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Sun, 19 Sep 2010 16:54:31 +0000 (16:54 +0000)
src/util/area.c

index d68f4d7865a8e61de6ae7a36da9b03ec64a6a2c1..62417fe30242f7b3fd278b32f472e19136b450e9 100644 (file)
@@ -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) {
This page took 0.019463 seconds and 4 git commands to generate.