Re: [dwm] Bug in monocle (dwm 4.8 and hg tip)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 17 Mar 2008 16:56:20 +0100

On Mon, Mar 17, 2008 at 04:47:51PM +0100, Szabolcs Nagy wrote:
> On 3/17/08, Nibble <nibble_AT_develsec.org> wrote:
> > I think there is a bug in monocle(void), where
> > resize(c, mox, moy, mow, moh, RESIZEHINTS);
> > should be:
> > resize(c, mox, moy, mow - 2 * c->border, moh - 2 * c->border, RESIZEHINTS);

Right.

> or
> resize(c, mox - c->border, moy - c->border, mow, moh, RESIZEHINTS);

No, then x and y might be negative.

Kind regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Mon Mar 17 2008 - 16:56:20 UTC

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