Re: [dwm] Max Mode Per Tag

From: Anselm R. Garbe <>
Date: Mon, 7 Aug 2006 14:40:29 +0200

On Mon, Aug 07, 2006 at 08:33:15AM -0400, Ross Mohn wrote:
> On Mon, 2006-08-07 at 08:08 +0200, Anselm R. Garbe wrote:
> > Why not simply writing a domax() and setting arrange() to domax
> > when in max mode? That would be much simplier than defining a
> > Tag struct...
> I haven't looked at 0.7 yet, but based on the 0.6 code here are my
> reasons:
> The arrange() variable currently affects all tag views globally. I want
> to be able to choose maxmode for each tag view independently. Further, I
> see the purpose of arrange() as choosing between "managed" and
> "unmanaged" layouts. Then, within the managed layout I want to choose
> between the tiled default and a stacked layout. The dotile() function
> already deals with a max layout for (n==1), so I took advantage of that
> by changing it to (n==1||tags[tsel].ismax)
> The struct makes sense when you want each tag view to be able to operate
> independently. In fact, there should probably be an arrange() variable
> added to the tag struct so that each tag view can be managed or floated
> independent of each other.
> I will have a look at the 0.7 code and will no doubt have some better
> ideas after seeing your changes. It's really fabulous code to work with!

I though about a per-tag mode, but decided against it, because
there can be RULES defined to treat broken apps (like gimp)
floating and I rarely toggle to floating...


 Anselm R. Garbe  ><><  ><><  GPG key: 0D73F361
Received on Mon Aug 07 2006 - 14:40:30 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:29:59 UTC