Re: [dwm] [patch] old-new mouseresize behavior

From: Enno \ <gottox_AT_gmail.com>
Date: Thu, 1 Nov 2007 12:32:37 +0100

As far as I can see, there are no such issues, but please review it.

2007/11/1, Sander van Dijk <a.h.vandijk_AT_gmail.com>:
> On Nov 1, 2007 11:44 AM, Enno Gottox Boland <gottox_AT_gmail.com> wrote:
> > Hi!
> >
> > I wrote a little patch which brings the old resizing behavior. It
> > reduces code complexibility and doesn't cost a single line of code.
>
> Hi Gottox,
>
> Is this pixel-perfect? If I recall correctly, we removed this way of
> resizing because the code got too complex when doing it exactly right.
> The "+ 1" at the nd of the "n? = abs(..." is there to make sure that
> the mouse pointer is just on the lower right corner of the window,
> instead of one pixel right and below of it. That way, it is possible
> to drag the bottom right corner of a window exaclty to the bottom
> right of the screen, instead of being one pixel of.
> I believe the issue back then was that the +1 had to be there for
> resizes in the positive directions, but messed things up in the
> negative direction (meaning, you couldn't resize a window to the top
> left of the screen)...
>
> Greetings, Sander.
>
>

-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Received on Thu Nov 01 2007 - 12:32:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:04:05 UTC