[dwm] toggling maximum height

From: Frederic Jaeckel <jchome_AT_0xf00.de>
Date: Tue, 1 Jul 2008 09:17:15 +0200

Hi all,

I'm trying to implement a toggling of a vertical or horizontal
maximisation and I expected resize() to take maxw or maxh as granted
absolut possible width or height. If I call resize like below it
resizes the window to one line, which is not what I wanted to do.

Could somebody explain me what I'm doing wrong? ;-)

togglemaxvert(const Arg *arg) {
  sel->isfloating = !sel-> isfloating || sel->isfixed;
    resize(sel, sel->x, sel->y, sel->w, sel->maxh, True);

Frederic 'jchome' Jaeckel

Received on Tue Jul 01 2008 - 09:17:30 UTC

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