commit d4ab63ffdc0582655e9e7daba800d9e1f9d7273b parent 37dc275dabf1ee9275a112c85ed2661cc19439c0 Author: Anthony Martin <ality@suckless.org> Date: Thu, 15 Feb 2007 02:31:12 -0800 Fixed collapsed state of frames when switching from Colstack to Colmax Diffstat:
| column.c | | | 11 | +++++------ |
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/column.c b/column.c @@ -162,15 +162,14 @@ arrange_column(Area *a, Bool dirty) { } break; case Colstack: - for(f=a->frame; f; f=f->anext) { - f->collapsed = True; - if(f == a->sel) - f->collapsed = False; - } + for(f=a->frame; f; f=f->anext) + f->collapsed = (f == a->sel) ? False : True; break; case Colmax: - for(f=a->frame; f; f=f->anext) + for(f=a->frame; f; f=f->anext) { + f->collapsed = False; f->rect = a->rect; + } goto resize; default: break;