Re: [dwm] Fwd: Re: maximization handling

From: Jukka Salmi <j+dwm_AT_2006.salmi.ch>
Date: Fri, 22 Sep 2006 15:17:51 +0200

Anselm R. Garbe --> dwm (2006-09-22 14:02:04 +0200):
> On Fri, Sep 22, 2006 at 12:35:02PM +0200, Jukka Salmi wrote:
> > Anselm R. Garbe --> dwm (2006-09-22 11:51:00 +0200):
> > > I fixed it through removing the toggle, thus one has to wether
> > > switch mode or to resize with mouse if one wants to have a
> > > client smaller. This is most simple and predictable after all...
> >
> > ...but switching mode doesn't resize clients with isfloat==True. And
> > if I don't use a mouse I'm screwed...
> >
> > What about re-adding this alternate geometry to struct Client, together
> > with a Bool to store whether the alternate geometry is currently in
> > use or not? In dotile(), you could then swap geometry values (as in
> > zoom() revision 478) before setting them for clients which are using
> > the alternate geometry.
>
> That's true. I pushed a version which is intended to do this.
> Needs some testing.

Thanks, seems to be almost perfect. Except that non-floating clients
should also be togglemax()ed when switching from floating to tiling
mode. See attached patch.

Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

Received on Fri Sep 22 2006 - 15:17:52 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:31:22 UTC