From 57dbe8eb382c8f77d66fa2a63177906ed5584ceb Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 15 Sep 2011 13:35:37 -0400 Subject: [PATCH] Don't collapse dock/menu/toolbar windows in float+stack mode. --- cmd/wmii/float.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/wmii/float.c b/cmd/wmii/float.c index 30952694..0134446d 100644 --- a/cmd/wmii/float.c +++ b/cmd/wmii/float.c @@ -74,7 +74,8 @@ float_arrange(Area *a) { break; case Colstack: for(f=a->frame; f; f=f->anext) - f->collapsed = (f != a->sel); + f->collapsed = !(f->client->w.ewmh.type & (TypeDock|TypeMenu|TypeToolbar)) + && (f != a->sel); break; default: die("not reached");