I have the following bindings:

    # these resize the window by moving the SW corner by 5 "units" at a time
    Mouse   4       T       N       Resize br w+5c w+5c
    Mouse   5       T       N       Resize br w-5c w-5c

They let me resize by rolling the mouse wheel on the titlebar.  My
intention is that they are inverses of each other.  I have two
problems with them.

First, it seems like the "units" are not always consistent for a given
window.  For pixel-based windows, it seems to work OK, in the sense I
can apply the binds an equal number of times, and I don't make the
window too small, I get back to exactly the same size.  For
character-based windows (terminals), they usually get smaller, more so
in the y direction.  Example: an xterm starts at 211x76, after -5c,-5c
it's 189x72, and after +5c,+5c it's 210x75.

The second problem is when resizing an OpenOffice window, it moves
*both* the top left and bottom right corners.

-- 
Thanks,

Jonathan Kotta

Hofstadter's Law:
    It always takes longer than you expect, even
    when you take into account Hofstadter's Law.

Reply via email to