Re: [dwm] toggling maximum height

From: Frederic Jaeckel <jchome_AT_0xf00.de>
Date: Tue, 1 Jul 2008 10:28:29 +0200

Hi Anselm,

On Tue, 1 Jul 2008 10:16:37 +0200
"Anselm R. Garbe" <arg_AT_suckless.org> wrote:

> On Tue, Jul 01, 2008 at 09:17:15AM +0200, Frederic Jaeckel wrote:
> > togglemaxvert(const Arg *arg) {
> > sel->isfloating = !sel-> isfloating || sel->isfixed;
> > if(sel->isfloating)
> > resize(sel, sel->x, sel->y, sel->w, sel->maxh, True);
> > arrange();
> > }
>
> Avoid using resizehints if you change the height to a height
> which has been advertised as valid max height by the client:
>
> resize(sel, sel->x, sel->y, sel->w, sel->maxh, False);

My problem don't seem to be resizehints. If I use sel->maxh I expect
the selected window to cover my whole vertical space on my "tag", but
it doesn't work.

regards,
Frederic 'jchome' Jaeckel

Received on Tue Jul 01 2008 - 10:28:48 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:52:26 UTC