On Mon, Oct 08, 2007 at 03:04:33PM +0200, dragan dimitrijevic wrote:

> This may not apply to your version of wmii but you can use the same
> principle:
> 
> address=unix!/tmp/ns.$USER.:0.$display/wmii
> view=`wmiir -a $address read /view/name`
> x=`wmiir -a $address read /$view/sel/sel/geom | awk '{ print $1}'`
> y=`wmiir -a $address read /$view/sel/sel/geom | awk '{ print $2}'`
> DISPLAY=:0.$display wmiiwarp $x $y
> 
> Moving from one screen to the other will warp the mouse to the last selected
> window.

Cool!  Thanks for the tip!

Jakob

Reply via email to