ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] unbanish patch


From: Shawn Betts
Subject: Re: [RP] unbanish patch
Date: Wed May 19 22:09:09 2004
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Trent Buck <address@hidden> writes:

> I patched cmd_banish to take an argument.
> 
> banish
> ==> bottom right of current screen.
> banish n/m
> ==> fraction of diagonal from current frame's origin.
> banish n
> banish -n
> ==> current frame's origin +n+n or -n-n.
> 
> This is primarily useful for programs which are stupid bastards and
> don't listen to the keyboard sometimes (e.g. mozilla).  Just :banish
> 1/2 and use mousekeys to center-click.

Why not just have a command 'ratmove' that moves the rat to a
specified x,y position. Negative values means from the bottom. Then
you'd just alias banish to 'ratmove -0 -0' or something...

You'd have to hardcode your center o' the screen x,y coordinates tho.

Waddya think?

-Shawn








reply via email to

[Prev in Thread] Current Thread [Next in Thread]