Ok I agree. What about resizing windows to c->rx, c->ry, ... ? If we
set c->rx = c->x = wa->x, ... in manage().
This can be used to resize a window to its startsize when you put it
in the floating layout.
2007/8/12, Anselm R. Garbe <arg_AT_suckless.org>:
> On Sun, Aug 12, 2007 at 01:19:12PM +0200, Enno Gottox Boland wrote:
> > I think it's also possible to remove floating layout from dwm and use
> > it as a "fallback" if arrange == NULL.
> >
> > In my eyes floating does nothing which belongs to a arrange function.
> > The arrange function should only arrange the windows. In my opinion it
> > shouldn't handle things like the visibility of a window. With this in
> > mind the floating function is empty.
>
> I agree on the fact that ban/unban stuff does not belong to
> arrange(), I plan to change this. However, floating is used to
> resize all visible windows respecting increment hints, so if you
> toggle to floating when in some tiled layout, you will notice
> that all windows will get a size they asked for. This is the
> only reason why floating exists explicitly besides ban/unban
> stuff.
>
> Regards,
> --
> Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
>
>
-- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)Received on Sun Aug 12 2007 - 20:47:47 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:49:12 UTC