[hackers] [wmii] Don't collapse dock/menu/toolbar windows in float+stack mode. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 15 Sep 2011 19:35:41 +0200 (CEST)

changeset: 2795:bae38beabff6
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Thu Sep 15 13:35:37 2011 -0400
files: cmd/wmii/float.c
description:
Don't collapse dock/menu/toolbar windows in float+stack mode.

diff -r 8ee765fe188a -r bae38beabff6 cmd/wmii/float.c
--- a/cmd/wmii/float.c Thu Sep 15 13:29:41 2011 -0400
+++ b/cmd/wmii/float.c Thu Sep 15 13:35:37 2011 -0400
@@ -74,7 +74,8 @@
                 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");
Received on Thu Sep 15 2011 - 19:35:41 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 15 2011 - 19:36:06 CEST